public
Description:
Homepage:
Clone URL: git://github.com/sunlightlabs/datacatalog-api.git
name age message
file .gitignore Thu Oct 15 18:48:45 -0700 2009 minor: ignore .DS_Store in git (for Macs) [djsun]
file LICENSE.md Fri Jul 31 12:35:46 -0700 2009 Add README with required gems. [luigi]
file README.md Tue Nov 03 11:28:56 -0800 2009 rake dependencies:check & :install [Story1489350] [djsun]
file app.rb Tue Nov 03 11:34:28 -0800 2009 check dependencies before rake test [Story1489350] [djsun]
file config.ru.example Thu Dec 10 08:52:49 -0800 2009 added downloads resource and model [Story1504793] [djsun]
directory config/ Wed Nov 04 11:14:24 -0800 2009 Latest djsun-mongo_mapper and sinatra_resource [djsun]
directory doc/ Mon Dec 07 10:35:55 -0800 2009 add docs about interest, level of organizations [djsun]
directory lib/ Fri Dec 04 10:58:37 -0800 2009 Depend on sinatra-resource 0.4.6 (adds paging) [djsun]
directory model_helpers/ Sun Dec 13 21:02:47 -0800 2009 add Download#size and /downloads size field [djsun]
directory models/ Sun Dec 13 21:02:47 -0800 2009 add Download#size and /downloads size field [djsun]
directory observers/ Mon Dec 07 13:18:03 -0800 2009 Add organization source_count [djsun]
directory public/ Mon Aug 03 14:58:56 -0700 2009 Add some files/folders to allow the app to run ... [luigi]
file rakefile.rb Thu Oct 15 18:47:06 -0700 2009 whitespace [djsun]
directory resources/ Sun Dec 13 21:36:33 -0800 2009 add downloads.size for /sources [djsun]
file server Wed Dec 09 10:28:35 -0800 2009 removed tracing from server script [djsun]
directory tasks/ Tue Dec 08 14:09:18 -0800 2009 depend on frequency-0.1.2 or better [djsun]
directory test/ Mon Dec 14 08:43:15 -0800 2009 Fix failing spec caused by introduction of Down... [luigi]
directory tmp/ Mon Aug 03 14:58:56 -0700 2009 Add some files/folders to allow the app to run ... [luigi]
README.md

Install MongoDB

  • Download the latest MongoDB stable build from http://www.mongodb.org/display/DOCS/Downloads
  • Setup and run Mongo using the directions at http://www.mongodb.org/display/DOCS/Getting+Started

Gem Dependencies

# If you have not used gemcutter before:
gem install gemcutter
gem tumble

# Install dependencies with a rake task:
rake dependencies:install

Setting up Config Files

  • Create a config/config.yml, based off config/config_example.yml
  • If using Passenger to run the app (or for deployment), create a config.ru based off config.ru.example.

Running Test Suite

  • Make sure MongoDB is running (see above)
  • Run rake test