NZOI / nztrain

The NZOI online judge and training site written in Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NZTrain

Status: <img src=“https://secure.travis-ci.org/NZOI/nztrain.png?branch=master” alt=“Build Status” /> <img src=“https://coveralls.io/repos/NZOI/nztrain/badge.png” alt=“Coverage Status” /> <img src=“https://codeclimate.com/github/NZOI/nztrain.png” /> Workflow: <img src=“https://badge.waffle.io/NZOI/nztrain.png” alt=“WIP Issues” />

Installation

Run ‘script/install.bash` to install dependencies.

‘script/update.bash` will pull changes from origin and recompile various things. This includes assets - assuming that it is for production purposes.

Both scripts depends on ‘script/install.cfg`, which is built using `script/install/config.bash` automatically. If `script/install.cfg` is incomplete (eg. new configuration is added), `script/install.bash` and `script/update.bash` will prompt for the new configurations required.

Development Tools

  • ‘spring` instead of `bundle exec` to keep a background copy of rails running, and avoid startup time.

  • ‘unicorn` starts of a development server (instead of Webrick).

About

The NZOI online judge and training site written in Ruby


Languages

Language:Ruby 66.9%Language:HTML 19.8%Language:Shell 8.2%Language:JavaScript 2.8%Language:CSS 2.1%Language:Makefile 0.1%Language:CoffeeScript 0.0%Language:Procfile 0.0%