Update README.md
This commit is contained in:
parent
dde0d949dc
commit
dc4a341f51
@ -3,12 +3,13 @@
|
|||||||
Aktienbot telegram bot
|
Aktienbot telegram bot
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
1. Create virtual environment `python -m venv env/Scripts/activate`
|
1. Create virtual environment `python -m venv venv`
|
||||||
2. Install requirements `pip install -r telegram_bot/requirements.txt`
|
2. Launch venv: `.\venv\Scripts\activate`
|
||||||
3. Set environment variables (see list below)
|
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`
|
1. Use `.env`-file in `api` directory like `.env.example`
|
||||||
2. Or set variables using `export` or `set` commands. (Windows `set`, Linux `export`)
|
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
|
## Environment variables
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user