Fakultas Ilmu Komputer UI

Commit 236cab86 authored by Zamil Majdy's avatar Zamil Majdy
Browse files

#140382397 #5 Update provisioning script

parent 15e64258
service postgresql start
service ssh start
cd /home/kape
npm install
if [[ $1 != production ]]; then
git pull origin master
elif [[ $1 != develop ]]; then
git pull origin develop
fi
pip install -r requirements.txt
python manage.py migrate
npm install
npm run build-production
gunicorn --bind 0.0.0.0:8001 kape.wsgi:application --reload
\ No newline at end of file
gunicorn --bind 0.0.0.0:8001 kape.wsgi:application --reload
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment