diff --git a/install.sh b/install.sh index 3a90d5a..36d49d6 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ echo "Copying server files to /opt/kjv-api" cp -r "${script_dir}"/. /opt/kjv-api echo "Setting ownership to kjv user" -chmod -R kjv:kjv /opt/kjv-api +chown -R kjv:kjv /opt/kjv-api echo "Installing systemd service task" cp "/opt/kjv-api/install/kjv-api.service" "/etc/systemd/system/kjv-api.service" @@ -34,7 +34,11 @@ echo "Waiting for the service to initialize" sleep 5 echo "If you see a random Bible verse below in json format, your installation was successful:" +echo +echo curl -XGET 127.0.0.1:1611/random +echo +echo echo "You must now set your webserver as a reverse proxy for your domain and point it to 127.0.0.1:1611" echo "See the install folder for example configuration files."