server-v2

module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: AGPL-3.0

README

Server-v2

GitHub release Build workflow

Server for Infinity OJ

Technology Stack

  1. Web Framework: Gin

Prerequisites

  1. Postgres

Development

  1. Run postgres service. for the database:
create type judge_status as enum ('Pending', 'Canceled', 'Running', 'Finished', 'SystemError', 'JudgementFailed', 'CompilationError', 'FileError', 'RuntimeError', 'TimeLimitExceeded', 'MemoryLimitExceeded', 'OutputLimitExceeded', 'InvalidInteraction', 'ConfigurationError');
create type submission_status as enum ('PartiallyCorrect', 'WrongAnswer', 'Accepted');

Production

make prod

Usage

Jump to

Keyboard shortcuts

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