vue-django-example icon indicating copy to clipboard operation
vue-django-example copied to clipboard

Vue + Django + Docker + Live Reload

my-project

A Django - Vue.js project

Please note that as of 2019, this is quite out of date!

Build Setup

# Build the Docker images
make build

# Run local dev
make run

# Get node command line
make cmd

# Migrate the DB
make makemigrations
make migrate

# Get an interactive DB shell
make get-db

# Set up a super-user on Django
make setup-django

TODO

  • Set up PostGIS
  • Put together a production deployment process
  • Set up a second docker-compose and Dockerfiles to run a production build locally

Previous notes

For detailed explanation on how things work, checkout the guide and docs for vue-loader.