##// END OF EJS Templates
Add users and groups
Add users and groups

File last commit:

r445:046e9870ce02
r445:046e9870ce02
Show More
start_realtime.sh
34 lines | 854 B | application/x-sh | BashLexer
/ setup / start_realtime.sh
new structure and views.py (pedestal) update
r366 #!/bin/bash
Update settings for postgres container and prerun.py file
r376 python ../setup/prerun.py || { echo '[DJANGO prerun] FAILED. Exiting...' ; exit 1; }
Update and validation USRP Tx variables
r381 if [ -f .gitkeep ];
new structure and views.py (pedestal) update
r366 then
Update settings for postgres container and prerun.py file
r376 echo "The commands 'makemigrations', 'migrate' and '.gitkeep' were not exectued"
new structure and views.py (pedestal) update
r366 else
# Apply database makemigrations
echo "Apply makemigrations"
python manage.py makemigrations
# Apply database migrations
echo "Apply database migrations"
python manage.py migrate
Add fixtures for default data
r372 python manage.py loaddata main
python manage.py loaddata tx
Update settings for postgres container and prerun.py file
r376
new structure and views.py (pedestal) update
r366 # Collect static files
Update settings for postgres container and prerun.py file
r376 #echo "Collect static files"
#python manage.py collectstatic --noinput
# Create ".gitkeep" file in "setup" folder
echo "Create .gitkeep"
Update and validation USRP Tx variables
r381 touch .gitkeep
new structure and views.py (pedestal) update
r366 fi
Add users and groups
r445 echo "Create Groups"
python manage.py create_groups
echo "Create User"
python manage.py create_users
new structure and views.py (pedestal) update
r366
Update settings for postgres container and prerun.py file
r376 echo "Run server"
new structure and views.py (pedestal) update
r366 python manage.py runserver 0.0.0.0:8080