mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Waitress
Deploy.shgit
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user