OpenDroneMap-WebODM/start.sh

11 wiersze
360 B
Bash
Czysty Zwykły widok Historia

2016-09-11 23:52:31 +00:00
#!/bin/bash
echo Running migrations
python manage.py makemigrations
python manage.py migrate
2016-09-11 23:52:31 +00:00
echo Creating default superuser...
# This will fail if the user is a duplicate
echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@example.com', 'admin')" | python manage.py shell
2016-09-11 23:52:31 +00:00
python manage.py runserver 0.0.0.0:8000