Skip to content

Commit 1ac6b54

Browse files
authored
Merge pull request #254 from tjcunliffe/update-install-script
updated install script
2 parents 5c641d4 + 8ed0a3b commit 1ac6b54

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

install.sh

+5-21
Original file line numberDiff line numberDiff line change
@@ -82,38 +82,22 @@ ln -s ${HFCTL_BINARY} hoverctl
8282

8383
mkdir ${HF_DIR}
8484

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-
9885
# Create config file
9986

10087
cat >${HF_DIR}/config.yaml <<EOL
10188
hoverfly.host: ${HF_HOST}
10289
hoverfly.admin.port: ${HF_ADMIN_PORT}
10390
hoverfly.proxy.port: ${HF_PROXY_PORT}
104-
specto.lab.api.key: ${API_KEY}
91+
specto.lab.api.key:
10592
EOL
10693

10794
echo
10895
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."
11097
echo
11198
echo "Installation complete."
11299
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"
119103
echo

0 commit comments

Comments
 (0)