- Python 3.5
- Django 1.11
- Node 8.5
- PostgreSQL 9.5
-
Start a new project
django-admin startproject --template=https://git.io/v50DW {{ project_name }}
-
Install project requirements
pip install -r requirements.txt npm install
-
Create a PSQL database
psql > CREATE DATABASE {{ project_name }} OWNER {{ user_name }};
-
Apply migrations & create a superuser
python manage.py migrate python manage.py createsuperuser
Django dev server
python manage.py runserver
Webpack dev server
npm start
Webpack build
npm run build