Skip to content

Commit

Permalink
Added curb to Gemfile (needed for downloading sample image files)
Browse files Browse the repository at this point in the history
Updated URL for ubnist1.casper-rw.gen1.aff
Added line about database migration to README.md
  • Loading branch information
eoyslebo committed May 6, 2012
1 parent 09b9396 commit 31cb0a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -41,4 +41,5 @@ gem 'jquery-rails'
gem "compass-rails", "~> 1.0.0", :group => :assets
gem "compass-susy-plugin", "~> 0.9.0", :group => :assets

gem "dfxml", :git => "git://github.com/anarchivist/dfxml.git"
gem "dfxml", :git => "git://github.com/anarchivist/dfxml.git"
gem "curb"
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -24,6 +24,10 @@ Get the application's gems:

$ bundle install

Migrate database:

$ rake db:migrate

Start up Solr:

$ cd jetty
Expand All @@ -41,4 +45,4 @@ Start Gumshoe:

$ rails s

Open your browser to http://localhost:3000/ and start playing!
Open your browser to http://localhost:3000/ and start playing!
4 changes: 2 additions & 2 deletions lib/tasks/gumshoe.rake
Expand Up @@ -47,7 +47,7 @@ namespace :gumshoe do
task :download do
FileUtils.mkdir "images" rescue nil
curl = Curl::Easy.new
curl.url = "http://digitalcorpora.org/corp/images/nps/nps-2009-casper-rw/ubnist1.casper-rw.gen2.aff"
curl.url = "http://digitalcorpora.org/corp/nps/drives/nps-2009-casper-rw/ubnist1.casper-rw.gen2.aff"
curl.perform
file = File.new('images/ubnist1.casper-rw.gen2.aff', 'wb')
file << curl.body_str
Expand All @@ -56,4 +56,4 @@ namespace :gumshoe do
end
end

end
end

0 comments on commit 31cb0a6

Please sign in to comment.