Update README.md

This commit is contained in:
Rripped 2022-05-02 17:34:44 +02:00 committed by GitHub
parent dde0d949dc
commit dc4a341f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,12 +3,13 @@
Aktienbot telegram bot
## Development
1. Create virtual environment `python -m venv env/Scripts/activate`
2. Install requirements `pip install -r telegram_bot/requirements.txt`
3. Set environment variables (see list below)
1. Create virtual environment `python -m venv venv`
2. Launch venv: `.\venv\Scripts\activate`
3. Install requirements `pip install -r telegram_bot/requirements.txt`
4. Set environment variables (see list below)
1. Use `.env`-file in `api` directory like `.env.example`
2. Or set variables using `export` or `set` commands. (Windows `set`, Linux `export`)
4. Run api `python telegram_bot/bot.py`
5. Run api `python telegram_bot/bot.py`
## Environment variables
```