Work on deployment

This commit is contained in:
2024-03-29 14:58:46 +01:00
committed by migatu
parent 6c9f01971a
commit 4a4f8df06e
3 changed files with 15 additions and 5 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
git pull git pull
cd .. cd ..
cp ./conjurer/bot.py ./Conjurer/ cp ./bot.py ../Conjurer/
cp ./conjurer/settings.json ./Conjurer/ cp ./settings.json ../Conjurer/
cp ./conjurer/system_gpt_settings.json ./Conjurer/ cp ./system_gpt_settings.json ../Conjurer/
cp ./conjurer/install.sh ./Conjurer/ cp ./start.sh ../Conjurer
cp ./conjurer/requirements.txt ./Conjurer/requirements.txt cp ./requirements.txt ../Conjurer/
sudo systemctl restart conjurer.service sudo systemctl restart conjurer.service
+5
View File
@@ -0,0 +1,5 @@
discord
yt_dl
spotify_dl
spotipy
openai
Executable
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
python3 -m venv /home/pi/Conjurer/env
source .venv/bin/activate
./env/python3 -m pip install -r requirements.txt
./env/python3 /home/pi/Conjurer/bot.py