kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fixed unary operator warning
rodzic
5d5ce6b548
commit
0c2b1a7a69
2
start.sh
2
start.sh
|
@ -27,7 +27,7 @@ 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
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue