Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.45 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.45 KB

Django local test

A test project for local Django development, original by @MHLut.

This project is not suitable for production purposes!

What is this for?

...

See also: A simple approach to running Django Core locally.

Installation

Warning: These instructions are crude and not a tutorial: I assume you already know how to use the tools described.

Requirements

Setup

  1. Pick a directory in which to store the Django core and test projects side-by-side.
  2. Clone your fork of Django core; the directory name should be django.
  3. Clone the Django local test project.
  4. Navigate to the local test project directory.
  5. Copy the .env file from .env.example; adjust .env where needed.
  6. Create a virtual environment and activate it.
  7. 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