NCKU NASA judge Backend service
- clone this repo and cd into nasa-judge-backend.
git clone https://github.com/NCKU-NASA/nasa-judge-backend
cd nasa-judge-backend
- run
bash install.sh -h
to see help
Usage: install.sh [options]
Options:
-h, --help display this help message and exit.
-u, --url URL backend url.
-p, --port PORT listen port.
-n, --dbname NAME mysql database name.
-u, --dbuser USERNAME mysql user.
-ju, --judgeurl URL url of judge.
-vu, --vncproxyurl URL url of vncproxy.
- run
install.sh
with options
bash install.sh [options]
-
Set
/etc/nasajudgebackend/.env
-
Restart it with systemd.
systemctl restart nasajudgebackend.service