Quickstart
This section covers how to create a Django project using djereo as a template.
Prerequisites
The following must be available locally:
- Python 3.13 or above
- Postgres
- uv
- just
Bootstrap a new Django project
- Navigate to the directory under which you wish to create a new project.
- Run
uvx copier copy --trust gh:albertomh/djereo <project_name>and follow the wizard.
This creates a directory under your current location. Follow the README in the new
<project_name>/ directory to get started with your project.
Please note:
- it is not necessary to clone
djereo. Thegh:albertomh/djereoargument will pull the latest tag from GitHub. - the
--trustflag is necessary to allow a post-creation task to initialise the new directory as a git repository and generate auvlockfile.
Update existing projects
To update a project created using an older version of djereo to a newer version of the
template:
cd ~/Projects/existing_project/
uvx copier update --skip-answered --trust [--vcs-ref=<TAG>]
If the --vcs-ref flag is not specified copier will use the latest djereo tag.