-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
61 lines (40 loc) · 1.47 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
************************************************************
PROCFILE
worker: python main.py
web: python main.py
************************************************************
GIT
Способ №1
git clone https://github.com/AntonArsentiev/BirthdayBot.git
git add .
git commit -m "first commit"
git push origin
Способ №2
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/AntonArsentiev/BirthdayBot.git
git push origin master
************************************************************
HEROKU
1. Посмотреть логи
heroku logs --tail --app=arsentiev-birthday-bot
2. Запустить бота
heroku ps:scale web=1 --app=arsentiev-birthday-bot
3. Остановить бота
heroku ps:scale web=0 --app=arsentiev-birthday-bot
4. Включить техническое обслуживание
heroku maintenance:on --app=arsentiev-birthday-bot
5. Выключить техническое обслуживание
heroku maintenance:off --app=arsentiev-birthday-bot
Heroku Error Codes
https://devcenter.heroku.com/articles/error-codes/
UptimeRobot
https://uptimerobot.com/
************************************************************
TELEGRAM BOT COMMANDS
add - add your friend's birthday
friends - list all my friends
language - set your locale
help - i will tell what you can do
************************************************************