Skip to content

patient/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project Template

Works with PostgreSQL.

Start a project

$ django-admin startproject project-name --template ./django-project-template/

Install requirements

$ pip install -r requirements/development.txt

Run a database

$ docker-compose up -d postgres

Set up local settings

$ vi config/settings/local.py

Put your local settings in the local.py, you can override settings consider your local environment. Start with lines below:

from .base import *

Apply migrations

$ ./manage.py migrate

Create Superuser

The project will use E-Mail address as username.

$ ./manage.py createsuperuser

About

Django project template

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages