1
0
mirror of synced 2024-11-27 15:40:48 +01:00

Update example with better working one for python 3.10+

This commit is contained in:
Jennifer Taylor 2024-09-01 04:19:38 +00:00
parent c6477861ec
commit bb7214e603

View File

@ -10,8 +10,9 @@ pushd /path/to/git/checkout
source /path/to/your/virtualenv/bin/activate source /path/to/your/virtualenv/bin/activate
# Install dependencies, install this library. # Install dependencies, install this library.
pip install --upgrade pip python3 -m pip install --upgrade pip wheel
pip install . -U --force-reinstall python3 -m pip install --upgrade -r requirements.txt
python3 -m pip install --upgrade .
# Copy the WSGI files over the old ones, recompile JSX. # Copy the WSGI files over the old ones, recompile JSX.
cp bemani/wsgi/*.wsgi /path/to/your/wsgi/files cp bemani/wsgi/*.wsgi /path/to/your/wsgi/files
@ -24,3 +25,4 @@ deactivate
popd popd
sudo service uwsgi restart && ./preload sudo service uwsgi restart && ./preload
echo "Done!"