- Install virtual environment:
pip3 install virtualenv
- Create venv
python3 -m virtualenv venv
- Activate it
source venv/bin/activate
- Install dependencies
pip3 install -r requirements.txt
- Paste keys into .env
- ? Exit venv:
deactivate
- Use virtual environment
source venv/bin/activate
- Use keys
source .env
- Run in background detached from shell
nohup python3 code/main.py &