ref: Makefile & scripts
This commit is contained in:
6
scripts/on-deploy.sh
Executable file
6
scripts/on-deploy.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
python manage.py collectstatic --noinput
|
||||
python manage.py migrate
|
||||
|
||||
uwsgi --ini /uwsgi.ini
|
||||
5
scripts/on-init.sh
Executable file
5
scripts/on-init.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
python manage.py migrate
|
||||
python manage.py loaddata traits.json booking_types.json
|
||||
python manage.py createsuperuser
|
||||
Reference in New Issue
Block a user