Skip to content
Web application for project Mapa76
Ruby JavaScript CSS CoffeeScript Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
.travis.yml
Capfile
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
config.ru

README.md

mapa76-webapp Build Status

Dependencies

  • Ruby 1.9.3+
  • MongoDB
  • ElasticSearch

Install

Ruby 1.9.3+

We recommend rvm for installing and managing the Ruby interpreter and environment. Refer to the installation page for instructions on installing Ruby 1.9+. with rvm.

MongoDB

On Debian / Ubuntu machines, install from the package manager:

# apt-get install mongodb-server

ElasticSearch

You need Java 6 (or newer) to run ElasticSearch. If on Debian / Ubuntu, you can install OpenJDK JRE from the package manager:

# apt-get install openjdk-7-jre

Then, download and install the .deb package:

$ wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.20.1.deb
# dpkg -i elasticsearch-0.20.1.deb

There are alternative downloads here.

Gems

First, run bundle install to install all gem dependencies.

$ bundle install

Usage

To start the web application, from the cloned directory, run:

$ rails server
Something went wrong with that request. Please try again.