diff --git a/deploy b/deploy old mode 100644 new mode 100755 index 05a7907..11beb36 --- a/deploy +++ b/deploy @@ -1,2 +1,8 @@ #!/bin/bash +echo "Stopping the server..." +pkill gunicorn + +echo "Starting the server..." +cd server +gunicorn --bind 0.0.0.0:8000 -w 1 "app:app"