Skip to content

Cross review microservice developed for the Ejudge ecosystem.

License

Notifications You must be signed in to change notification settings

Gornak40/crosspawn

Repository files navigation

CrossPawn

Cross review microservice developed for the Ejudge ecosystem.

Config

Create config.ini in project directory.

[ejudge]
API_KEY = <KEY>
API_SECRET = <SECRET>
URL = https://ejudge.algocourses.ru

[database]
SQLITE_PATH = <PATH>

[server]
GIN_SECRET = <SECRET>
JWT_SECRET = <SECRET>
POLL_MAX_RUNS = 1000
POLL_DELAY_SECONDS = 10
REVIEW_LIMIT = 3

Build

make

Generate JWT

You can generate personal token for admin user.

./jwtsign.sh --user gorilla --duration 24h

Usage

Start poller.

make run-poller

Start server.

make run-crossspawn