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
# `VUE_APP_OJ_CLIENT` is where sduoj-web locates at
# serve with hot reload at localhost:8081
npm run serve
npm run build
We will give a template of nginx config file later.