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
## Install
## Install & Update
```bash
export API_TOKEN=secret-token
cd ~/mosru
poetry shell & python mos_gor.py
cd ~/PycharmProjects/mosgortrans
sudo systemctl stop mosgortrans.service
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,
431571617,
]
}
]}
stations_cb = CallbackData('station', 'direction')