/sduoj-web

SDUOJ frontend web.

Primary LanguageVueGNU General Public License v3.0GPL-3.0

Shandong University Online Judge - Front End

Get started

Make sure that node v12.18.2 and npm v6.14.5 or their higher version are installed.

Development on Linux or macOS

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

Production

npm run build

We will give a template of nginx config file later.

LICENSE

GNU General Public License v3.0