HUST Online Judge is a web application.
This application still under construction, if you like improve it, please contact freefcw at qq.com.
This version is not compatible with old version! The Judged is not upgrade!
-
clone this repository
-
install vendor package via composer
cd hustoj-neo composer install -
config you application.
still under construction...
-
database
-
config you database in .env such like
# new database DB_CONNECTION=mysql DB_PORT=3306 DB_HOST=127.0.0.1 DB_DATABASE=neo DB_USERNAME=root DB_PASSWORD=root # old database OLD_DB_PORT=3306 OLD_DB_HOST=127.0.0.1 OLD_DB_DATABASE=judge OLD_DB_USERNAME=root OLD_DB_PASSWORD=root -
If you migrate from the initial version hustoj, you should migrate database structure follow this wiki
-
migrate database structure via command:
php artisan databse:migrate -
make you account has administrator privilege.
php artisan assign:admin
-
-
frontend, you should run this command for administrator ui
npm install npm run production -
continue...
Thank you for considering contributing to the HUST Online Judge! You can add issue or make pull request!
If you discover a security vulnerability within HUST Online Judge, please send an e-mail to freefcw at freefcw at qq.com. All security vulnerabilities will be promptly addressed.
The HUST Online Judge Neo Version Under MIT license.