Manager for Guider
Python >= 3.0
Set publicPath to the IP of your web server
$ vi ./django_vue/vue.config.js
This is Example. Change 211.10.52.1 to Your Server`s Public IP!
module.exports = {
publicPath: 'http://211.10.52.1:8080/',
outputDir: "../static",
....
}
It is recommended to use virtualenv.
$ pip3 install virtualenv
$ virtualenv venv
$ source ./venv/bin/activate
If you don't want to use virtualenv, just run this command.
$ pip3 install -r requirements.txt
$ cd ./django_vue/ && npm install && npm run build && cd ..
Run frontend
$ cd ./django_vue/ && npm run serve
Run backend
$ python3 manage.py runserver 0.0.0.0:8000