Home > Otro-Bache

Otro-Bache

Otro-Bache is a project mainly written in JAVASCRIPT and RUBY, it's free.

Otro bache

OTRO-BACHE

Requirements

  • Ruby 1.8.7
  • PostgreSQL 8.4 or higher.
  • Postgis 1.5.2
  • Bundler gem

Installation

First of all, rename the file config/database.yml.sample

mv config/database.yml.sample config/database.yml

and then, update it with your database connection parameters.

You will need to create a postgis template database. Here explain how to do it.

After that, you can proceed with the rest of the installation steps:

bundle install

You need imagemagick ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"

brew install imagemagick

And the database:

rake db:setup

This will take a while, since 1.4 million records must be inserted in the database.

Running the app!

To run the application in your development machine, just start the server

rails server

and load the app in your browser:

http://localhost:3000

Now, time to hack and send some pull requests!