File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,18 @@ function update_script() {
3939 tar xzf " $temp_file "
4040 cp -rf wger-" $RELEASE " /* /home/wger/src
4141 cd /home/wger/src || exit
42+ $STD pip install -r requirements_prod.txt --ignore-installed
43+ $STD pip install -e .
4244 $STD python3 manage.py migrate
45+ $STD python3 manage.py collectstatic --no-input
4346 $STD yarn install
4447 $STD yarn build:css:sass
45- $STD python3 manage.py collectstatic --noinput
4648 echo " ${RELEASE} " > /opt/${APP} _version.txt
4749 msg_ok " Updated $APP to v${RELEASE} "
4850
49- msg_info " Starting $APP "
51+ msg_info " Starting Service "
5052 systemctl start wger
51- msg_ok " Started $APP "
53+ msg_ok " Started Service "
5254
5355 msg_info " Cleaning Up"
5456 rm -rf " $temp_file "
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ curl -fsSL "https://github.com/wger-project/wger/archive/refs/tags/$RELEASE.tar.
4242tar xzf " $RELEASE " .tar.gz
4343mv wger-" $RELEASE " /home/wger/src
4444cd /home/wger/src || exit
45- $STD pip install -r requirements_prod.txt
45+ $STD pip install -r requirements_prod.txt --ignore-installed
4646$STD pip install -e .
4747$STD wger create-settings --database-path /home/wger/db/database.sqlite
4848sed -i " s#home/wger/src/media#home/wger/media#g" /home/wger/src/settings.py
You can’t perform that action at this time.
0 commit comments