@@ -82,38 +82,22 @@ ln -s ${HFCTL_BINARY} hoverctl
82
82
83
83
mkdir ${HF_DIR}
84
84
85
- # Get API key
86
-
87
- echo
88
- echo " *****************************************************"
89
- echo " ************** SpectoLab PRIVATE BETA ***************"
90
- echo " *****************************************************"
91
- echo " To use the SpectoLab with hoverctl, sign in at"
92
- echo " https://lab.specto.io/settings to access your API Key."
93
- echo
94
- echo " If you don't have an API key, just press RETURN below."
95
- echo
96
- read -rsp " Enter your SpectoLab API key here : " API_KEY
97
-
98
85
# Create config file
99
86
100
87
cat > ${HF_DIR} /config.yaml << EOL
101
88
hoverfly.host: ${HF_HOST}
102
89
hoverfly.admin.port: ${HF_ADMIN_PORT}
103
90
hoverfly.proxy.port: ${HF_PROXY_PORT}
104
- specto.lab.api.key: ${API_KEY}
91
+ specto.lab.api.key:
105
92
EOL
106
93
107
94
echo
108
95
echo
109
- echo " Hoverctl config file created: ${HF_DIR} /config.yaml. Edit this file to change hoverfly host, ports and SpectoLab API key ."
96
+ echo " Hoverctl config file created: ${HF_DIR} /config.yaml. Edit this file to change hoverfly host and ports ."
110
97
echo
111
98
echo " Installation complete."
112
99
echo
113
- echo " To get started:"
114
- echo " 1. Run 'hoverctl pull benjvi/hello-world:latest'"
115
- echo " 2. Set your http_proxy environment variable: 'export http_proxy=http://${HF_HOST} :${HF_PROXY_PORT} /'"
116
- echo " 3. Run 'hoverctl start'"
117
- echo " 3. Run 'hoverctl import benjvi/hello-world:latest'"
118
- echo " 4. Run 'curl -L http://lab.specto.io/static/hello-world.html', or open in the browser on linux"
100
+ echo " Run 'hoverctl help' to get started"
101
+ echo
102
+ echo " Hoverfly documentation is available here: https://spectolabs.gitbooks.io/hoverfly/content"
119
103
echo
0 commit comments