First test for stack Django and VueJS
Requirements :
- Python
- NodeJS
- SQLite
We'll be installing Django and Djangorestframework.
You can install it in a virtual environment or globally. The first is recomended.
With virtualenv
$ virtualenv venv
With the venv library (Python 3.3 or latter)
$ python -m venv venv
Activate your virtual environment
Posix: $ source venv/bin/activate
Windows: venv\Scripts\activate
$ pip install -r requirements.txt
$ python backend/manage.py makemigrations todos
$ python backend/manage.py migrate
$ python backend/manage.py createsuperuser
$ npm install
and into frontend-src folder
$ cd frontend-src && npm install
$ gulp build
$ python backend/manage.py runserver