Update README.md

This commit is contained in:
Rripped 2022-05-02 17:33:38 +02:00 committed by GitHub
parent fa5834f2ce
commit 2413d4b41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,9 +29,10 @@ Oberthema:
"Data is the new oil" "Data is the new oil"
# Setup for testing # Setup for testing
1. Create virtual environment `python -m venv env/Scripts/activate` 1. Create virtual environment `python -m venv venv`
2. Install requirements `pip install -r requirements.txt` 2. Launch venv: `.\venv\Scripts\activate`
3. Set environment variables (see list below) 3. Install requirements `pip install -r requirements.txt`
4. Set environment variables (see list below)
1. Create `.env`-file from `.env.example` and fill in needed keys 1. Create `.env`-file from `.env.example` and fill in needed keys
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 source/bot.py` 5. Run api `python source/bot.py`