We'll NOT maintain the first version of NOJ Front-End (this repository) in the future and please see our new Front-End repository https://github.com/Normal-OJ/new-front-end
Clone this project via SSH:
$ git clone [email protected]:noj/codebase/frontend.git
$ cd frontend
Install node modules with npm:
$ npm install
Clone .env.example
as .env
and specify the environment variables
$ cp .env.example .env
# modify the content in .env
vue-cli-service
provides hot-reloads for development environment:
$ npm run serve
You can refer to Vue.js CLI documentation: https://cli.vuejs.org/config
$ npm run build
$ npm run test