Skip to content

ariera/django-vue-template

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

django-vue-template

A Vue.js and Django example

This repo goes along with the first part series of a blogpost I wrote some time ago on how to effectively setup a project that's easy to develop and deploy using Django, Vue and webpack.

Installation

yarn install
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Development

  • On one terminal run your webpack dev server
npm run dev
  • On another terminal launch the Django application
python manage.py runserver

And point your browser to http://localhost:8000, but test that you can also access the pure Django world, for example by going to the admin panel http://localhost:8000/admin

Tests

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published