Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.01 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.01 KB

GithubCI GithubCI License: MIT

Fund Helper

Your fund helper :)

It is designed to run regression test for trading strategy on fund in China mainland.

How to run

Start backend service

  1. cd to backend folder
  2. Start docker by running docker-compose up -d
  3. install node_modules by running npm ci
  4. Confirm all unit tests passed by running npm run test
  5. Initialize database for prod by running npm run init-db
  6. (Optional) Initialize database for dev by running npm run init-db:dev
  7. Start backend by running npm run start

Start frontend page

  1. cd to frontend folder
  2. install node_modules by running npm ci
  3. Confirm all unit tests passed by running npm run test
  4. Start webpack-dev-server by running npm run dev
  5. Open localhost:8081