public
Fork of dalager/oiorest-rails-examples
Description: Rails examples for the oiorest project
Clone URL: git://github.com/olleolleolle/oiorest-rails-examples.git
name age message
file .gitignore Tue May 13 11:49:25 -0700 2008 initial git commit [Christian Dalager]
file .gitmodules Tue May 13 12:08:41 -0700 2008 committing oiorest submodule [Christian Dalager]
file README.markdown Tue May 13 23:04:40 -0700 2008 indented code [olleolleolle]
file Rakefile Tue May 13 11:49:25 -0700 2008 initial git commit [Christian Dalager]
directory app/ Tue May 13 11:49:25 -0700 2008 initial git commit [Christian Dalager]
directory config/ Tue May 13 16:25:38 -0700 2008 default route added (kommuner) [olleolleolle]
directory db/ Tue May 13 15:59:28 -0700 2008 adding db folder, to appease the rake migration... [olleolleolle]
directory doc/ Tue May 13 11:49:25 -0700 2008 initial git commit [Christian Dalager]
directory log/ Tue May 13 12:35:53 -0700 2008 Added log dir [Christian Dalager]
directory public/ Tue May 13 16:24:41 -0700 2008 removed file. [olleolleolle]
directory script/ Tue May 13 11:49:25 -0700 2008 initial git commit [Christian Dalager]
directory test/ Tue May 13 11:49:25 -0700 2008 initial git commit [Christian Dalager]
directory vendor/ Tue May 13 12:52:16 -0700 2008 updated submod [Christian Dalager]
README.markdown

A Rails example app for oiorest

Instead of you having to type up an application that uses the oiorest ActiveResource-based plugin, use this Rails app to try out oiorest.

What is oiorest?

See the oiorest project page at GitHub:

http://github.com/dalager/oiorest/tree/master

Oiorest in short: an experimental plugin for a project to help an experiment with public Danish data about municipalities.

oiorest at Google Code has some wiki information to be moved to GitHub.

Getting started

You have checked out the source code, now run these commands to install the plugin from source, and set up a database.

git-submodule init
git-submodule update
rake db:migrate

How To Use the Examples

Start that server, run the application, and have a look.

  • Kommuner shows Denmark's municipalities with autocomplete
  • Regioner shows the larger areas of Denmark, and how they can request info about their contents