kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fixed unary operator warning
rodzic
5d5ce6b548
commit
0c2b1a7a69
4
start.sh
4
start.sh
|
@ -27,8 +27,8 @@ echo Running migrations
|
||||||
python manage.py makemigrations
|
python manage.py makemigrations
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
|
|
||||||
if [ $1 = "--create-default-pnode" ]; then
|
if [[ $1 = "--create-default-pnode" ]]; then
|
||||||
echo "from nodeodm.models import ProcessingNode; ProcessingNode.objects.update_or_create(hostname='node-odm-1', defaults={'hostname': 'node-odm-1', 'port': 3000})" | python manage.py shell
|
echo "from nodeodm.models import ProcessingNode; ProcessingNode.objects.update_or_create(hostname='node-odm-1', defaults={'hostname': 'node-odm-1', 'port': 3000})" | python manage.py shell
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python manage.py runserver 0.0.0.0:8000
|
python manage.py runserver 0.0.0.0:8000
|
||||||
|
|
Ładowanie…
Reference in New Issue