diff --git a/.gitignore b/.gitignore index 68bc17f..3e7a4a6 100644 --- a/.gitignore +++ b/.gitignore @@ -158,3 +158,4 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +/bot_config.json diff --git a/ServerChanPush2TelegramBot.bat b/ServerChanPush2TelegramBot.bat new file mode 100644 index 0000000..a920db7 --- /dev/null +++ b/ServerChanPush2TelegramBot.bat @@ -0,0 +1,5 @@ +@echo off +@echo ServerChanPush2TelegramBot start +cd /d %~dp0 +py ServerChanPush2TelegramBot.py +pause \ No newline at end of file diff --git a/ServerChanPush2TelegramBot_wsgi.bat b/ServerChanPush2TelegramBot_wsgi.bat new file mode 100644 index 0000000..85b4e53 --- /dev/null +++ b/ServerChanPush2TelegramBot_wsgi.bat @@ -0,0 +1,6 @@ +@echo off +title ¡¾·þÎñÆ÷-ÇëÎð¹Ø±Õ¡¿ServerChanPush2TelegramBot +cd /d %~dp0 +:start +waitress-serve --threads=10 --listen=*:5000 ServerChanPush2TelegramBot:app +goto start \ No newline at end of file