Update babybuddy-install.sh

This commit is contained in:
CanbiZ 2025-05-06 15:35:08 +02:00
parent 2883e62fed
commit c32d2cc46e

View File

@ -32,10 +32,10 @@ unzip -q v${RELEASE}.zip
mv babybuddy-${RELEASE} /opt/babybuddy mv babybuddy-${RELEASE} /opt/babybuddy
rm "v${RELEASE}.zip" rm "v${RELEASE}.zip"
cd /opt/babybuddy cd /opt/babybuddy
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip wheel pipenv pip install -U pip wheel pipenv
export PIPENV_VENV_IN_PROJECT=1 export PIPENV_VENV_IN_PROJECT=1
export PIPENV_IGNORE_VIRTUALENVS=1
export PIPENV_VERBOSITY=-1
pipenv install pipenv install
pipenv shell pipenv shell
cp babybuddy/settings/production.example.py babybuddy/settings/production.py cp babybuddy/settings/production.example.py babybuddy/settings/production.py