Skip to content

Commit

Permalink
Removed PyPDF library and six library
Browse files Browse the repository at this point in the history
  • Loading branch information
dlareau committed Mar 6, 2020
1 parent 43b8e28 commit a847007
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 340 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ sudo: required

env:
global:
- DB_NAME=puzzlehunt_db
- DB_USER=hunt
- DB_PASSWORD=test
- DJANGO_SECRET_KEY=test_secret_key
Expand Down
15 changes: 11 additions & 4 deletions appEntrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/bin/bash

# Start the first process
python /code/manage.py run_huey --quiet &
gunicorn --workers=2 --bind=0.0.0.0:8000 puzzlehunt_server.wsgi:application &
status=$?
if [ $status -ne 0 ]; then
echo "Failed to start Huey: $status"
echo "Failed to start Gunicorn: $status"
exit $status
fi

python /code/manage.py migrate --no-input
status=$?
if [ $status -ne 0 ]; then
echo "Failed to run migrations: $status"
exit $status
fi

# Start the second process
gunicorn --workers=2 --bind=0.0.0.0:8000 puzzlehunt_server.wsgi:application &
python /code/manage.py run_huey --quiet &
status=$?
if [ $status -ne 0 ]; then
echo "Failed to start Gunicorn: $status"
echo "Failed to start Huey: $status"
exit $status
fi

Expand Down
301 changes: 0 additions & 301 deletions fabfile.py

This file was deleted.

0 comments on commit a847007

Please sign in to comment.