Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 53 lines (30 sloc) 1.511 kb
c331258 Claudio Perez Gamayo added a couple of rake tasks to help with the setup of the config enviro...
crossblaim authored
1 Welcome to Open Aid Register
2 ============================
3
4 Open Aid Register www.openaidregister.org is a web application based on ruby on rails 3 that enables NGO users publish their projects in an easy ans smart way. IT dinamically creates IATI XML aid projects.It updates NGO projects in the IATI Registry.
5
6
7 Configure the development environment
8 -------------------------------------
9
10 Open Aid Register uses cartodb as the primary database, you need to go to http://cartodb.com/ and register for an account.
11
12 1. Clone the repository and install all the required gems:
13
14 bundle install
15
16 2. Copy the sample cartodb_config file and put there your OAUTH or xAuth credentials:
17
18 Log into http://cartodb.com to get your OAUTH or xAuth
19
20 cp config/cartodb_config_example.yml config/cartodb_config.yml
21
22 *OAUTH*
23
24 development:
25 host: 'YOUR_CARTODB_DOMAIN'
26 oauth_key: 'YOUR_OAUTH_KEY'
27 oauth_secret: 'YOUR_OAUTH_SECRET'
28 oauth_access_token: 'YOUR_OAUTH_ACCES_TOKEN'
29 oauth_access_token_secret: 'YOUR_OAUTH_ACCES_TOKEN_SECRET'
30
31 *xAuth*
32
33 development:
34 host: 'YOUR_CARTODB_DOMAIN'
35 oauth_key: 'YOUR_OAUTH_KEY'
36 oauth_secret: 'YOUR_OAUTH_SECRET'
37 username: 'YOUR_CARTODB_USERNAME'
38 password: 'YOUR_CARTODB_PASSWORD'
39
40 3. Create the database tables:
41
42 bundle exec rake oar:cartodb:create_tables
43
44 4. Load the seed data:
45
46 bundle exec rake db:seed
47
48 5. You can start the app now:
49
50
51
52
Something went wrong with that request. Please try again.