Make sure that node v12.18.2
and npm v6.14.5
or their higher version are installed.
npm install
# You should custom the file `.env.development` in the root directory and change your hosts to avoid CORS
# `VUE_APP_OJ_SERVER` is where your real backend locates at
# leave `VUE_APP_OJ_WS` blank if your Websocket setvice locates at the same place as your backend
# `VUE_APP_OJ_MANAGE` is where sduoj-manage locates at
# serve with hot reload at localhost:8080
npm run serve
npm run build
We will give a template of nginx config file later.