c1f8167f06
add .env.example add requierements.txt |
||
---|---|---|
.env.example | ||
.gitignore | ||
db.yml | ||
gitea.yml | ||
main.py | ||
README.md | ||
requirements.txt |
Getting started
- Install Python.
- Create virtual environment:
python3 -m venv .venv
. - To activate the virtual environment, enter:
source .venv/bin/activate
. - Install a list of requirements specified in requirements.txt:
python -m pip install -r requirements.txt
. - Create a .env file
cp .env.example .env
and provide values of envirnoment variables. - Run the script:
python main.py
.
When you're finished with your virtual environment, enter the following command to deactivate it:
deactivate
.