A test project for local Django development, original by @MHLut.
This project is not suitable for production purposes!
...
See also: A simple approach to running Django Core locally.
Warning: These instructions are crude and not a tutorial: I assume you already know how to use the tools described.
- Technical knowledge of Git, GitHub, Python, Django, etc.
- Django fork per Writing your first contribution for Django.
- just (optional).
- pre-commit (optional; for development only).
- Pick a directory in which to store the Django core and test projects side-by-side.
- Clone your fork of Django core; the directory name should be
django
. - Clone the Django local test project.
- Navigate to the local test project directory.
- Copy the
.env
file from.env.example
; adjust.env
where needed. - Create a virtual environment and activate it.
- Install the dependencies from
requirements.txt
.
The commands are something like this:
git clone <fork>
git clone [email protected]:MHLut/django-local-test.git
cd django-local-test
cp .env.example .env
python3 -m venv venv
pip install -r requirements.txt