about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-21 10:59:37 +0200
committerEmile <hanemile@protonmail.com>2019-10-21 10:59:37 +0200
commite8b69eb9d681acf0ffb550093fe6d55ba573f2d4 (patch)
treea4645d9249786836cd3b1d94dea4a613e4193884
parent43334c4d51b31f522e9f72b7c47a70bbb0c7ad0e (diff)
added some requirements
-rwxr-xr-xsetup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index b05f0c4..93cbb4f 100755
--- a/setup.sh
+++ b/setup.sh
@@ -8,6 +8,12 @@ docker network create circus 2> /dev/zero
 # possible that containers in the same network can interact with the database
 docker network create circus_db 2> /dev/zero
 
+echo "Welcome to the circus-setup tool!"
+echo "Please make sure you have the following services/tools installed before continuing:"
+echo "- docker (with a running docker-server)"
+echo "- docker-compose"
+echo "- htpasswd"
+
 # get a hostname and a ctfname from the user
 read -e -p "HOSTNAME: " -i "ctf.flexerilla.team" HOSTNAME
 read -e -p "CTFNAME: " -i "FlexCTF" CTFNAME
@@ -23,6 +29,7 @@ read -e -p "Traefik password: " -i "secret" TRAEFIK_PASSWORD
 # Create the traefik creds string (user:pass)
 TRAEFIK_CREDS=$(htpasswd -nb $TRAEFIK_USER $TRAEFIK_PASSWORD)
 
+# Write the creds to the traefik users file
 echo TRAEFIK_CREDS >> traefik_users
 
 # Grafana settings