Skip to content

VietOpenCPS/frontend-opencps-v2.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-opencps

Hướng dẫn build + deploy Front-end OpenCPS.

  1. Clone source code: https://github.com/VietOpenCPS/frontend-opencps-v2.1
  2. Install package, plugin sử dụng cho từng module:
    • npm install
  3. Build compile *.js:
    • npm run build
  • ex:
    • cd ./asked_questions
    • npm install
    • npm run build
  • Thư mục lưu *.js: /wars/opencps-store
  1. Build *.war:
    • cd /wars/opencps-store
    • npm i gradle (cài đặt gradle khi chạy lần đầu)
    • gradle build
  • Thư mục lưu *.war: wars/opencps-store/build/libs