upgrade to django 1.11.16 and python3.6
This commit is contained in:
parent
b32465e85f
commit
bc0258ea8f
17 changed files with 155 additions and 84 deletions
10
start
Executable file
10
start
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#! /bin/bash
|
||||
|
||||
cd /opt/cbmi
|
||||
|
||||
python /opt/cbmi/manage.py makemigrations
|
||||
python /opt/cbmi/manage.py migrate
|
||||
|
||||
echo "from django.contrib.auth.models import User; User.objects.filter(email='admin@example.com').delete(); User.objects.create_superuser('admin', 'admin@example.com', 'fooderbar23')" | python /opt/cbmi/manage.py shell
|
||||
|
||||
python /opt/cbmi/manage.py runserver 0.0.0.0:8000
|
||||
Loading…
Add table
Add a link
Reference in a new issue