koneko-online-judge

module
v0.0.0-...-e361b34 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: MIT

README

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/

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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