crosspawn

module
v0.9.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: MIT

README

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

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL