Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.16 KB

README.rdoc

File metadata and controls

15 lines (10 loc) · 1.16 KB

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).