mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
update README.md
This commit is contained in:
parent
57f9a5e762
commit
a11cbcbc3a
18
README.md
18
README.md
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user