Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.19 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.19 KB

NTUEECourse2021

2021 年新版臺大電機系預選網站 (https://course.ntuee.org/)

Usage

Contributors

前端:朱哲廣, email: [email protected]

後端:

Quick Start (Development mode)

Start dataset

$ docker-compose -f docker-compose_dev.yml up -d

Check whether mongodb and redisdb are running

$ docker ps

Base setup

$ cp .env.defaults .env                                  # Run one time
$ pnpm database reset                                    # Database reset, run whenever you want
$ pnpm install

Start distribute server (OPTIONAL: If you want to test distribute)

Checkout distribute-server/README.md

Start backend first

$ pnpm dev-server           # This will run a develop server

Goto http://localhost:8000 to see the swagger.

Start frontend first

$ pnpm start

Goto http://localhost:3000 to see the website.