Skip to content

Commit f29cfa5

Browse files
committed
update cost date and deployment steps to release new changes
1 parent e3de3e8 commit f29cfa5

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ Enhance your Telegram bot's functionality by customizing its settings. Follow th
110110

111111
Follow the steps in ["keep_bot_running_in_server"](docs/keep_bot_running_in_server.md) to keep gastitis always running in your pc or server.
112112

113+
To deploy new changes follow the steps in the ["Deploying New Changes" inside keep_bot_running_in_server](docs/keep_bot_running_in_server.md#deploying-new-changes) section.
114+
113115
## Contributing
114116

115117
- After making any changes to the code, please run the [functional tests](docs/functional_testing.md) to ensure everything is working as expected.

docs/keep_bot_running_in_server.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,22 @@ To debug or monitor the program's output, view the logs:
6060
tail -f /var/log/gastitis.out.log
6161
tail -f /var/log/gastitis.err.log
6262
```
63+
64+
## 7. Deploy new changes
65+
66+
When you make changes to the code, you need to pull the latest changes from your repository.
67+
```bash
68+
git pull origin master
69+
```
70+
71+
Then, restart the bot:
72+
73+
```bash
74+
sudo supervisorctl restart gastitis
75+
```
76+
77+
Check the bot is running correctly:
78+
79+
```bash
80+
sudo supervisorctl status
81+
```

extra_features/vianda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ViandaCostCalculator:
2222

2323
FOOD_COST = 5000
2424
DELIVERY_COST = 900
25-
COSTS_LAST_UPDATED = "2025/02/09"
25+
COSTS_LAST_UPDATED = "2025/05/05"
2626

2727
DEFAULT_DAYS = 5
2828
DEFAULT_VIANDAS_PER_DAY = 2

0 commit comments

Comments
 (0)