mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 09:58:23 +02:00
Docker
This commit is contained in:
committed by
Pierre-antoine Comby
parent
3ddc757e25
commit
74189f1f4e
8
entrypoint.sh
Executable file
8
entrypoint.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
python manage.py compilemessages
|
||||
python manage.py makemigrations
|
||||
sleep 5
|
||||
python manage.py migrate
|
||||
|
||||
# TODO: use uwsgi in production
|
||||
python manage.py runserver 0.0.0.0:8000
|
Reference in New Issue
Block a user