- 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
postgresql
on your system
- pygraphviz
- Install
graphviz
on 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 django
django-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_NAME
pip install pip-tools
pip-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
.env
and populate variables python manage.py runserver
coverage run --source='.' manage.py test && coverage html
- Open
htmlcov/index.html
in your browser