Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 534 Bytes

vps.md

File metadata and controls

20 lines (18 loc) · 534 Bytes
  1. Prepare a database, any database
  2. Make sure the python version is above 3.10
  3. Clone to local
git clone https://github.com/bitjerry/Microsoft-365-bot.git
cd Microsoft-365-bot/src
  1. Add environment variables (required)

More optional >>>

flyctl secrets set BOT_TOKEN="xxx"  Robot token, get by @BotFather
flyctl secrets set ADMIN_ID="xxx"   tg's user id (a string of pure numbers), usually the owner id
  1. Deployment procedure:
pip install -r requirements.txt
python3 setup.py