forked from Vizzuality/iom
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
37 lines (24 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
== Welcome to NGOAIDMAP
NGOAIDMAP is a website available at http://ngoaidmap.org/. It was a custom development done initially by Vizzuality (vizzuality.com) for Interaction (interaction.org). The application consist of a database of projects. Those projects get aggregated to create Sites, for example http://foodsecurity.ngoaidmap.org/ or http://haiti.ngoaidmap.org/
It is probably a very specific application to be used directly, but the ideas and code behind it might be applicable for other people needs. If you have questions on how to use [email protected]
== Database structure
NGOAIDMAP is a project that allows you to create websites about projects around a certain topic. For example haiti or foodsecurity.
The database consist of 4 main tables: "projects" done by "organizations" funded by "donors" which are included in different "sites".
Take a look at the database schema at db/db_schema.pdf to get a better idea of what the project does.
== Requirements
NGOAIDMAP is a Ruby on Rails application. The dependencies are:
* Ruby 1.8.7
* PostgreSQL 8.4 or higher.
* Postgis 1.5.2
* Bundler gem
== Installation
rvm use 1.8.7
rvm gemset create iom
rvm use 1.8.7@iom
gem install bundler
git clone git://github.com/Vizzuality/iom.git
cd iom
bundle install
# edit config/database.yml
rake db:setup
rails s