upgrade to django 1.11.16 and python3.6

This commit is contained in:
cmile 2018-10-03 00:16:28 +02:00
parent b32465e85f
commit bc0258ea8f
17 changed files with 155 additions and 84 deletions

10
start Executable file
View 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