Work on deployment

fix

fax

fx

Fin part

fx

121

Temp fix

as

aa

fx

f5

fx4

fix

fx1

Work on deployment
This commit is contained in:
2024-03-29 14:58:46 +01:00
committed by migatu
parent de3d6a8f42
commit 211c45891e
6 changed files with 25 additions and 9 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
python3 -m venv /home/pi/Conjurer/env
source ./env/bin/activate
./env/bin/python3 -m pip install --upgrade pip
./env/bin/python3 -m pip install -r requirements.txt
sed -i -e 's/os.rename/shutil.copy/g' ./env/lib/python3.11/site-packages/spotify_dl/youtube.py
sed -i '1i\import shutil' ./env/lib/python3.11/site-packages/spotify_dl/youtube.py
deactivate
sudo systemctl restart conjurer.service