hsadler / django-vue-template

A template for getting started with a Django+Vue web app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-vue-template

A template for getting started with a Django+Vue web app.

THIS PROJECT IS A WORK IN PROGRESS

Running and Developing the App Locally

Requirements

  • docker
  • npm
  • pipenv
  • make

Initial Setup

Run the setup processes:

make build
make up
make migrate
make down
( cd webclient && npm install )

Run App for development

Spin-up the backend and database:

make up

In a separate terminal, run the frontend:

cd webclient && npm run serve

View the running app at http://localhost:8080/

Spin-down when finished:

make down
// and stop the running npm process

Container shell connections (application containers must be running)

Open a shell to the dvt-mysql container:

make mysql-shell

Open a shell to the dvt-backend application container:

make backend-shell

Django admin

TODO

About

A template for getting started with a Django+Vue web app.

License:MIT License


Languages

Language:Vue 41.1%Language:Python 32.2%Language:JavaScript 13.3%Language:CSS 8.0%Language:Makefile 2.9%Language:Dockerfile 1.4%Language:HTML 1.1%