- Install Python (>3.9)
- Clone the repository -
git clone <remote-url>
- Go to the project directory -
cd <cloned-repo>
- Set up the environment:
- Create a virtual environment -
python3 -m venv venv
- Activate the virtual environment:
- Linux:
source venv/bin/activate
- Windows:
venv\Scripts\activate
- Linux:
- Create a virtual environment -
- Install the dependencies -
pip3 install -r requirements.txt
- Install pre-commit -
pre-commit install
- Copy contents of
.env.example
to a new file.env
-cp .env.example .env
- Configure
config.py
file if needed
Pre-commit hooks automatically format the code using autopep8 when you do git commit
.