diff --git a/jenkins/build.sh b/jenkins/build.sh index 2bfa054..cf89b16 100755 --- a/jenkins/build.sh +++ b/jenkins/build.sh @@ -5,5 +5,6 @@ source env/bin/activate python --version pip install -r requirements.txt +git submodule init git submodule update --remote --recursive deactivate diff --git a/jenkins/deploy.sh b/jenkins/deploy.sh index e86fd0d..5fe4b18 100755 --- a/jenkins/deploy.sh +++ b/jenkins/deploy.sh @@ -3,6 +3,7 @@ export ODDBROOT="od-database" screen -S oddb_web -X quit +killall -9 uwsgi echo "starting oddb_web" screen -S oddb_web -d -m bash -c "cd ${ODDBROOT} && uwsgi od-database.ini" sleep 1