mirror of
https://github.com/wger-project/wger.git
synced 2026-11-30 18:12:37 +01:00
15 lines
334 B
Bash
Executable File
15 lines
334 B
Bash
Executable File
#!/bin/sh
|
|
|
|
/home/wger/venvwrapper migrate
|
|
|
|
if [ "${DOWNLOAD_IMGS}" = "TRUE" ]; then
|
|
/home/wger/venvwrapper download-exercise-images
|
|
chmod -R g+w ~wger/media
|
|
fi
|
|
|
|
/home/wger/venvwrapper collectstatic --no-input
|
|
/home/wger/venvwrapper compress --force
|
|
chown www-data:www-data -R /home/wger/static
|
|
|
|
/usr/sbin/apache2ctl -D FOREGROUND
|