- master: Default readme, empty branch.
- base: Django normal project template.
- rest: Django rest project template.
- graphql: Django graphql project template.
- base-app: Django normal project template.
- rest-app: Django rest project template.
- graphql-app: Django graphql project template.
- For startproject
django-admin startproject --extension=py,md,env --template=https://github.com/inspired-solutions/django-starter/archive/PROJECT_BRANCH.zip PROJECT_NAME - For startapp
django-admin startapp --template=https://github.com/inspired-solutions/django-starter/archive/APP_BRANCH.zip APP_NAME
- psycopg2
- Install
postgresqlon your system
- pygraphviz
- Install
graphvizon your system - In case you don't have graphviz, remove graphviz and pygraphviz from
requirements/develop.in
virtualenv venv -p /path/to/python# Create virtualenvsource venv/bin/activate# Activate virtualenvpip install djangodjango-admin startproject --extension=py,md,env --template=https://github.com/inspired-solutions/django-starter/archive/PROJECT_BRANCH.zip PROJECT_NAME# Create project from templatecd PROJECT_NAMEpip install pip-toolspip-compile -r requirements/develop.in -o requirements-DATE.develop# Generates a requirements file with the latest version of the dependencies up to the current datepip-sync requirements-DATE.develop# Synchronize the dependencies and versions of your virtual environment with those of the generated file- Open
.envand populate variables python manage.py runserver
coverage run --source='.' manage.py test && coverage html- Open
htmlcov/index.htmlin your browser