mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 19:34:05 +02:00
Update run.sh
This commit is contained in:
@@ -18,11 +18,7 @@ python3 manage.py migrate || true
|
|||||||
echo "Launch app"
|
echo "Launch app"
|
||||||
su -m wger -c "\
|
su -m wger -c "\
|
||||||
DOCKER_DIR=./extras/docker/development && \
|
DOCKER_DIR=./extras/docker/development && \
|
||||||
/bin/sh -c mkdir ~/media && \
|
|
||||||
pip3 install -e . && \
|
pip3 install -e . && \
|
||||||
mkdir ~/static && \
|
|
||||||
mkdir ~/db/ && \
|
|
||||||
if [ -f .env ]; then export $(echo $(cat .env | sed 's/#.*//g'| xargs) | envsubst); fi && \
|
|
||||||
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi && \
|
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi && \
|
||||||
cd /home/wger/src && \
|
cd /home/wger/src && \
|
||||||
export FROM_EMAIL='wger Workout Manager <wger@example.com>' && \
|
export FROM_EMAIL='wger Workout Manager <wger@example.com>' && \
|
||||||
|
|||||||
Reference in New Issue
Block a user