botany

module
v0.0.0-...-c0d5e8a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: AGPL-3.0

README

Botany

master Build Status | dev Build Status

Botany is a customizable contest platform for games among programs.

Development tools for jury and participants

See README in sdk/ directory.

Running the server

Tested Go version: 1.13.1

Clone repository into $GOPATH/src/github.com/kawa-yoiko/botany, or create a symlink, whichever works.

Set up PostgresQL and Redis server (refer to documentations for the target platform).

cd app
go get -d .

cp config_example.json config.json
vim config.json     # Edit in any convenient way

go run .

In case of unstable connection, use goproxy.io or try:

mkdir -p $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x/
git clone https://github.com/golang/crypto
git clone https://github.com/golang/image
git clone https://github.com/golang/sys

Running the judge

The judge runs on Linux only.

See judge/box.md for details.

Standards and conventions

Run the code through Gofmt before committing. Not doing so will result in CI complaining.

gofmt -w .

Vim users may consider adding the following to ~/.vimrc so that indentation rules (noexpandtab ts=4 sw=4) apply inside app/ directory.

:set exrc
:set secure

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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