Skip to content

consoleaf/django-vue-webpack

Repository files navigation

Django + Vue.js (+ Vuetify) using Webpack template

Dependencies

  • Python 3
  • Virtualenv
  • Node.js
  • Yarn
  • tmux (linux only)

Installation on Linux:

Create virtual environment for Python:

./install.sh

Activate virtual environment:

source venv/bin/activate

Update Python packages (assuming virtual environment activated):

pip3 install -r requirements.txt

Installation on Windows:

Pick up Python libs:

pip3 install --user -r requirements.txt

Pick up Node libs:

cd frontend
yarn install

Serve:

Linux:

./serve.sh

Windows:

Start webpack-dev-server:

cd frontend
yarn serve

Start Django server:

python3 manage.py runserver

TODO:

  • Make deployable
  • Make install & launch scripts for Windows

About

Django + Vue + Webpack template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published