Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 582 Bytes
# this is an easy (re)deploy script for running a lflux instance w/ pbundler, gunicorn and supervisord
unset GIT_DIR
bash ./ # pbundle updates are run in here too
pbundle run ./lfluxproject/ collectstatic --noinput
find ./lfluxproject/localstatic -type f | while read file; do gzip -c "$file" > "$file.gz"; done
pbundle run ./lfluxproject/ syncdb
pbundle run ./lfluxproject/ migrate
pbundle run ./lfluxproject/ compilemessages
X=`pbundle run printenv SUPERVISOR_NAME`
pbundle run sudo supervisorctl restart $X