Skip to content

Commit

Permalink
Add an installation template to simplify installation process
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed Oct 12, 2016
1 parent 7180e64 commit c326563
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions template.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
gem 'sufia', '7.2.0'
gem 'flipflop', github: 'jcoyne/flipflop', branch: 'hydra'

run 'bundle install'

generate 'sufia:install', '-f'

# Support Rails 4.2 and 5.0
begin
rails_command 'db:migrate'
rescue NoMethodError
rake 'db:migrate'
end

0 comments on commit c326563

Please sign in to comment.