Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brucewzj99 committed May 3, 2024
1 parent e0665f4 commit 1706169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ pip install -r requirements.txt
* Set up Google Sheet API, download service account key
* Retrieve Google Sheet API email
* Set up Firebase Firestore Database, download service account key
* Retrieve your firebase database url
* Set up telegram bot via [BotFather](https://t.me/BotFather)
* Insert all of them into .env as follows, you can use py dotenv or set it as env variable in your venv
* You can use the same TOKEN for BOT_TOKEN & TEST_TOKEN but I recommend using two different bots for testing and production
* I recommend having two different firebase databases for testing and production

``` .env
BOT_TOKEN=your_bot_token
Expand All @@ -55,9 +55,9 @@ MASTER_TELE_ID=your_telegram_id
### Step 3
* Proceed to project directory and run:
``` python
python3.9 test_polling.py
python3.9 dev_polling.py
OR
python3.9 test_webhook.py
python3.9 dev_webhook.py
```

## Usage
Expand Down

0 comments on commit 1706169

Please sign in to comment.