Fixes on deployment
This commit is contained in:
parent
a84cd45839
commit
d021dcea92
|
@ -105,10 +105,10 @@ function main () {
|
||||||
--allow-external django-orchestra \
|
--allow-external django-orchestra \
|
||||||
--allow-unverified django-orchestra
|
--allow-unverified django-orchestra
|
||||||
run sudo orchestra-admin install_requirements
|
run sudo orchestra-admin install_requirements
|
||||||
run cd $(eval echo ~$user)
|
cd $(eval echo ~$user)
|
||||||
|
|
||||||
surun "orchestra-admin startproject $project_name"
|
surun "orchestra-admin startproject $project_name"
|
||||||
surun "cd $project_name"
|
cd $project_name
|
||||||
|
|
||||||
run sudo service postgresql start
|
run sudo service postgresql start
|
||||||
run sudo python3 -W ignore manage.py setuppostgres $noinput
|
run sudo python3 -W ignore manage.py setuppostgres $noinput
|
||||||
|
|
Loading…
Reference in New Issue