Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 968 Bytes

README.md

File metadata and controls

51 lines (30 loc) · 968 Bytes

django-mysql

A starter example for project using Django/MySQL

Stack Information

  • django 4.2.x
  • mysql latest

The rrerequisites of using this starter example:

Dev Environment

Clone this repository, and get into the django-mysql directory,

cd django-mysql

Build docker images,

$ docker compose build

Up dev environment,

$ docker compose up

Visit http://127.0.0.1:8000/

More settings

Setup a virtual environment (e.g. python -m venv .venv), and activate it source ./venv/bin/activate.

$ pip install -r requirements-dev.txt

pre-commit got installed, and will run git hook scripts for identifying code issues before git commit.

If you are using any IDE, then configure the IDE to use this virtual environment.