Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rokups/hello-vue-django
vuejs and Django integration with hot code reload. Dont use this, use https://github.com/NdagiStanley/vue-django or https://github.com/gtalarico/django-vue-template
https://github.com/rokups/hello-vue-django
blockchain minecraft nodejs
Last synced: 2 months ago
JSON representation
vuejs and Django integration with hot code reload. Dont use this, use https://github.com/NdagiStanley/vue-django or https://github.com/gtalarico/django-vue-template
- Host: GitHub
- URL: https://github.com/rokups/hello-vue-django
- Owner: rokups
- License: other
- Archived: true
- Created: 2017-01-04T15:57:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T08:40:51.000Z (about 7 years ago)
- Last Synced: 2024-08-02T09:25:32.194Z (5 months ago)
- Topics: blockchain, minecraft, nodejs
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 330
- Watchers: 26
- Forks: 93
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue - hello-vue-django - vue-django?style=social) - 使用带有Django的vuejs的样板项目 (Demo示例)
- awesome-github-vue - hello-vue-django - 使用带有Django的vuejs的样板项目 (Demo示例)
- awesome-github-vue - hello-vue-django - 使用带有Django的vuejs的样板项目 (Demo示例)
- awesome - hello-vue-django - 使用带有Django的vuejs的样板项目 (Demo示例)
README
# hello-vue + Django
This is a boilerplate project for using vuejs with Django.
### Features
* Django backend in `./backend`
* vuejs (v2) frontend in `./frontend`
* Hot-reload with vue-loader
* eslint linter integration
* Makefile to make your life easy### Development environment setup
These steps will install all required dependencies including development ones, run migrations and start dev server.
```bash
make dev
make migrate
make run
```### Deployment
These steps will install production dependencies and build vuejs application to `static/dist` folder.
```bash
make prod
make build
```### Be aware
For the sake of simplicity Django config is contained within its own backend app. In real world setting you would
probably want to remove `backend` from `INSTALLED_APPS`, create a new app and move `backend.views` to it.You probably want to create python virtual environment as well. Default python instance available will be used.