mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
d914711559
Intermediate commits (oldest → newest): - New files for flask services - Service - Minor fix 2 - Waitress - Linux conf files - Service - Bugfixing - Waitress - Install options - Work on deployment - Bugfixes - Work on deployment - name change and othre bugfixes - Installer - Test
13 lines
541 B
Bash
Executable File
13 lines
541 B
Bash
Executable File
#!/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_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_musician.service
|
|
sudo systemctl enable conjurer_musician.service
|