Skip to content
cgm-labPublic

About

CGM (All in) One

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

CGM One Backend

Frontend

Prerequisite

  • Python 3.7+ (for backend)
    • pip3 (package manager)
  • Node.js v12+ (for frontend)
    • yarn v1.21+ (package manager)
    • Quasar v1 (cli)

Install

pip install -r requirements.txt  # backend
# frontend
cd frontend
yarn global add @vue/cli
yarn global add @quasar/cli
yarn

Development

  • Backend (require build frontend first if you want to view spa web)
python app.py
  • Frontend only
cd frontend
quasar dev -m pwa

Production

# build frontend
cd frontend
quasar build -m pwa
# run server
cd ..
python app.py

About

CGM (All in) One

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages