Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

ProgrammingLab/koneko-online-judge

Repository files navigation

Koneko Online Judge (=^ - ^=)

Build Status

ProgrammingLab/koneko-client

Requirements

  • Docker

Documents

GitHub Wiki

Config

こねこの設定ファイルは、./server/koneko.tomlです。 ./server/koneko.sample.toml./server/koneko.tomlにリネームしていい感じに設定してください。

Usage(with Docker Compose)

Set environment variable

export KOJ_DB_PASSWORD="password"

Start the backend server

go get github.com/ProgrammingLab/koneko-online-judge/...
cd $GOPATH/src/github.com/ProgrammingLab/koneko-online-judge/
docker-compose up

Debug

Setup

go get github.com/ProgrammingLab/koneko-online-judge/...
cd $GOPATH/src/github.com/ProgrammingLab/koneko-online-judge/server/
docker build -t koneko-online-judge-image-cpp container/cpp/
dep ensure

Set environment variables

# DOCKER_API_VERSIONにはインストールされているバージョンを指定
# 指定しないと'client version 1.36 is too new.'とか怒られる
export DOCKER_API_VERSION="1.35"

Start the backend server

cd server
go build main.go
./main
# Go to http://localhost:9000/

Releases

No releases published

Packages

No packages published