Skip to content

Commit

Permalink
docker-entrypoint changes (added migration command for api model
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustinetharakan12 committed Oct 7, 2019
1 parent df716d9 commit e62260c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

python excelplay-kryptos/excelplay_kryptos/manage.py makemigrations && \
python excelplay-kryptos/excelplay_kryptos/manage.py makemigrations api && \
python excelplay-kryptos/excelplay_kryptos/manage.py migrate
cd excelplay-kryptos/excelplay_kryptos
gunicorn excelplay_kryptos.wsgi --bind 0.0.0.0:8001
Expand Down

0 comments on commit e62260c

Please sign in to comment.