Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0deb62ae26

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
public
views
Gemfile
Gemfile.lock
README.textile
Rakefile
config.ru
main.rb
statistics.rb

README.textile

Sinatra Code

This directory contains the code which runs the pmretract application, hosted by Heroku/MongoHQ.

Right now, it’s not recommended that you try to run the sinatra code locally. However, if you want to try, the steps are as follows:

  1. Download the code, e.g. git clone git@github.com:neilfws/PubMed.git and cd code/sinatra
  2. bundle install
  3. Install MongoDB on the same machine (default host localhost and port)
  4. Change back to the code/ruby directory
  5. Run scripts in order: ecnt2mongo.rb, xml2mongo.rb, timeline.rb (requires the BioRuby bio gem)
  6. Change back to code/sinatra and start the application (e.g. shotgun config.ru)

In the future, Rakefile will supply tasks to replace step 5.

Something went wrong with that request. Please try again.