Deploy.shgit
This commit is contained in:
2024-03-29 14:20:27 +01:00
committed by migatu
parent 5e3ffdacb5
commit 00172920a9
2 changed files with 13 additions and 1 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
cd ./conjurer/
git pull
cd ..
cp ./conjurer/bot.py ./Conjurer/
cp ./conjurer/settings.json ./Conjurer/
cp ./conjurer/system_gpt_settings.json ./Conjurer/
sudo systemctl restart conjurer.service
+4 -1
View File
@@ -59,7 +59,10 @@ def update_music_list():
if __name__ == "__main__": if __name__ == "__main__":
app.run(debug=True, host="0.0.0.0")
#app.run(debug=True, host="0.0.0.0")
from waitress import serve
serve(app, host="0.0.0.0", port=5000)
# TODO: Reskan co 24h # TODO: Reskan co 24h