This project includes default auto-generated Django project except for removing comments and minor tweaks (using dotenv variables for secrets).
- Clone project
git clone git@github.com:Azen0n/django-boilerplate.git
- Set new origin url
git remote set-url origin new_origin_goes_here
- Update the project information in
pyproject.toml
. Ensure you compile any new dependencies if you make changes to them (see New Dependencies)
- Install Python 3.12
- Install uv
- Create a virtual environment via uv and activate it
uv venv venv --python=3.12 source venv/bin/activate
- Install requirements
uv pip install -r requirements.txt
- Rename
example.env
to.env
and set valuesmv example.env .env
To include new dependencies, add packages to the dependencies list in the pyproject.toml file, then compile them using
uv pip compile pyproject.toml -o requirements.txt
and install
uv pip install -r requirements.txt