update README.md

This commit is contained in:
Dmitry Afanasyev 2022-08-08 21:15:28 +03:00
parent 57f9a5e762
commit a11cbcbc3a
2 changed files with 15 additions and 6 deletions

View File

@ -1,9 +1,19 @@
# MosGotTrans bot # MosGotTrans bot
## Install ## Install & Update
```bash ```bash
export API_TOKEN=secret-token cd ~/PycharmProjects/mosgortrans
cd ~/mosru sudo systemctl stop mosgortrans.service
poetry shell & python mos_gor.py git pull balshgit master
sudo cp ~/Pycharmprojects/mosgortrans/* /opt/mosgortrans/ -r
sudo systemctl start mosgortrans.service
```
## Clean
```bash
killall geckodriver
killall firefox
killall python
``` ```

View File

@ -23,8 +23,7 @@ cron_jobs = [
user_chat_ids = {'chat_ids': [417070387, user_chat_ids = {'chat_ids': [417070387,
431571617, 431571617,
] ]}
}
stations_cb = CallbackData('station', 'direction') stations_cb = CallbackData('station', 'direction')