One thousand points of light

Share your light

This is the main One Thousand Points of Light ("Otpol") API and web application. It is a public-facing Ruby on Rails app.

Development

To setup a development environment on OSX:

### Clone the repository

git clone git@github.com:linenoise/otpol
cd otpol

### Install Nokogiri, Imagemagick, and gems

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install imagemagick
brew tap homebrew/dupes
brew install libxml2 libxslt
brew install libiconv
gem install nokogiri  -v '1.6.1' -- --with-iconv-dir=/usr/local/Cellar/libiconv/1.14/
bundle install

### Migrate a database and run the test suite

rake db:migrate
rake test

### Run the dev server

rails server

Now open it in your browser: http://localhost:3000/

Download the latest One thousand points of light codebase

The full source code and documentation for this project are available on GitHub:
http://github.com/linenoise/ptpol/