Fixes on deployment

This commit is contained in:
Marc Aymerich 2015-10-02 12:48:48 +00:00
parent a84cd45839
commit d021dcea92
1 changed files with 2 additions and 2 deletions

View File

@ -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