Skip to content
プロラボの新しいジャッジ
Go Shell Dockerfile
Branch: master
Clone or download
Pull request Compare This branch is 19 commits behind ProgrammingLab:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client @ 040177d
nekonote
runner
server
.gitignore
.gitmodules
.travis.yml
Dockerfile
LICENSE
README.md
docker-compose.mailhog.yml
docker-compose.production.yml
docker-compose.yml
setup.sh

README.md

Koneko Online Judge (=^ - ^=)

Build Status

gedorinku/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/gedorinku/koneko-online-judge/...
cd $GOPATH/src/github.com/gedorinku/koneko-online-judge/
docker-compose up

Debug

Setup

go get github.com/gedorinku/koneko-online-judge/...
cd $GOPATH/src/github.com/gedorinku/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/
You can’t perform that action at this time.