mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
806cada1c1
Intermediate commits (oldest → newest): - Music service (#5) - Fine tuning of radiostation - Logging fix in radio - Logging fix - fx - fx - fx - Fix to deprecated - Fine tuning - Logging fix on conjurer_librarian - Fix logging with rotation - fixing favourites
17 lines
623 B
Bash
Executable File
17 lines
623 B
Bash
Executable File
#!/bin/bash
|
|
cd /home/pi
|
|
mdkir Conjurer
|
|
cd Conjurer
|
|
python3 -m venv /home/pi/Conjurer/env
|
|
cp /home/pi/conjurer/requirements_bot.txt /home/pi/Conjurer/
|
|
source ./env/bin/activate
|
|
./env/bin/python3 -m pip install --upgrade pip
|
|
./env/bin/python3 -m pip install -r requirements_bot.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 cp ./conjurer.service /etc/systemd/system/
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl start conjurer.service
|
|
sudo systemctl enable conjurer.service
|