Last active
July 7, 2021 06:45
-
-
Save ShawnWon/66dfd4c17ce93279af3e07fc0fe23737 to your computer and use it in GitHub Desktop.
GBL3temp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
gem 'blacklight', '~> 7.0' | |
gem 'geoblacklight', '~> 3.0' | |
gem 'webpacker' unless Rails.version.to_s.start_with? '6.1.' | |
gem 'sprockets', '< 4.0' # Use sprockets less than 4.0, let webpacker users set this up themselves | |
gem 'blacklight_range_limit', '~> 7.0.0' | |
gem 'geoblacklight_sidecar_images', '~> 0.8.1' | |
gem 'mini_magick', '~> 4.9.4' | |
gem 'carrierwave', '~> 1.2' | |
gem 'statesman', '~> 3.4.1' | |
gem 'sidekiq', '~> 5.1.3' | |
gem 'sidekiq-failures', '~> 1.0.0' | |
gem 'down', '~> 4.4' | |
gem 'addressable', '~> 2.5.0' | |
gem 'handlebars_assets', '~> 0.23.0' | |
gem 'jquery-rails' | |
gem 'haml' | |
gem 'chronic' | |
gem 'blacklight-gallery', '~> 1.0.0' | |
#gem 'solr_wrapper', git: 'https://github.com/cbeer/solr_wrapper.git', branch: 'master' | |
#gem 'geoblacklight-icons', git: 'https://github.com/geoblacklight/geoblacklight-icons.git', :ref => '84da81140e7ef93e7241b7753c01d7f709216f2b' | |
# Hack for https://github.com/rails/rails/issues/35153 | |
# Adapted from https://github.com/projectblacklight/blacklight/pull/2065 | |
gemfile = File.expand_path('Gemfile') | |
IO.write(gemfile, File.open(gemfile) do |f| | |
text = f.read | |
text.gsub(/^gem 'sqlite3'$/, 'gem "sqlite3", "~> 1.3.6"') | |
end) | |
run 'bundle install' | |
generate 'blacklight:install' , '--devise' | |
generate 'geoblacklight:install', '-f' | |
generate 'geoblacklight:webpacker', '-f' | |
rake 'db:migrate' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment