Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 1020 Bytes

README.md

File metadata and controls

54 lines (48 loc) · 1020 Bytes

Guider Manager

Manager for Guider

guider-web-commandtab

Requirements

Python >= 3.0

Setting

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",
  ....
}

Install Python Dependencies

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

Build Frontend Codes

$ cd ./django_vue/ && npm install && npm run build && cd ..

Run

Run frontend

$ cd ./django_vue/ && npm run serve

Run backend

$ python3 manage.py runserver 0.0.0.0:8000