Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Normal-OJ/Front-End

Repository files navigation

Normal OJ Web Frontend

❗️Caution

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

Contributing Guide

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

Building for production

$ npm run build

Testing

$ npm run test