Skip to content

Instantly share code, notes, and snippets.

@dkinzer
Created October 2, 2018 19:02
Show Gist options
  • Save dkinzer/a9ba07ecc3132e67f09d3eed67ebe54b to your computer and use it in GitHub Desktop.
Save dkinzer/a9ba07ecc3132e67f09d3eed67ebe54b to your computer and use it in GitHub Desktop.
create
create README.md
create Rakefile
create .ruby-version
create config.ru
create .gitignore
create Gemfile
run git init from "."
Initialized empty Git repository in /private/var/folders/l8/8ljsh0p103d9m4gg3866jlhh0000gp/T/d20181002-80571-1d5ukjn/internal/.git/
create package.json
create app
create app/assets/config/manifest.js
create app/assets/javascripts/application.js
create app/assets/javascripts/cable.js
create app/assets/stylesheets/application.css
create app/channels/application_cable/channel.rb
create app/channels/application_cable/connection.rb
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/jobs/application_job.rb
create app/mailers/application_mailer.rb
create app/models/application_record.rb
create app/views/layouts/application.html.erb
create app/views/layouts/mailer.html.erb
create app/views/layouts/mailer.text.erb
create app/assets/images/.keep
create app/assets/javascripts/channels
create app/assets/javascripts/channels/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/bundle
create bin/rails
create bin/rake
create bin/setup
create bin/update
create bin/yarn
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/cable.yml
create config/puma.rb
create config/storage.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/application_controller_renderer.rb
create config/initializers/assets.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/content_security_policy.rb
create config/initializers/cookies_serializer.rb
create config/initializers/cors.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_framework_defaults_5_2.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/master.key
append .gitignore
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/apple-touch-icon-precomposed.png
create public/apple-touch-icon.png
create public/favicon.ico
create public/robots.txt
create tmp
create tmp/.keep
create tmp/cache
create tmp/cache/assets
create vendor
create vendor/.keep
create test/fixtures
create test/fixtures/.keep
create test/fixtures/files
create test/fixtures/files/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/test_helper.rb
create test/system
create test/system/.keep
create test/application_system_test_case.rb
create storage
create storage/.keep
create tmp/storage
create tmp/storage/.keep
remove config/initializers/cors.rb
remove config/initializers/new_framework_defaults_5_2.rb
run bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 12.3.1
Using concurrent-ruby 1.0.5
Using i18n 1.1.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.1
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Using nokogiri 1.8.4
Using rails-dom-testing 2.0.3
Using crass 1.0.4
Using loofah 2.2.2
Using rails-html-sanitizer 1.0.4
Using actionview 5.2.1
Using rack 2.0.5
Using rack-test 1.1.0
Using actionpack 5.2.1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0
Using actioncable 5.2.1
Using globalid 0.4.1
Using activejob 5.2.1
Using mini_mime 1.0.1
Using mail 2.7.0
Using actionmailer 5.2.1
Using activemodel 5.2.1
Using arel 9.0.0
Using activerecord 5.2.1
Using mimemagic 0.3.2
Using marcel 0.3.3
Using activestorage 5.2.1
Using public_suffix 3.0.3
Using addressable 2.5.2
Using io-like 0.3.0
Using archive-zip 0.11.0
Using bindex 0.5.0
Using msgpack 1.2.4
Using bootsnap 1.3.2
Using bundler 1.16.1
Using byebug 10.0.2
Using xpath 3.1.0
Using capybara 3.8.2
Using ffi 1.9.25
Using childprocess 0.9.0
Using chromedriver-helper 2.1.0
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using coffee-script 2.4.1
Using method_source 0.9.0
Using thor 0.20.0
Using railties 5.2.1
Using coffee-rails 4.2.2
Using multi_json 1.13.1
Using jbuilder 2.7.0
Using rb-fsevent 0.10.3
Using rb-inotify 0.9.10
Using ruby_dep 1.5.0
Using listen 3.1.5
Using puma 3.12.0
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Using rails 5.2.1
Using rubyzip 1.2.2
Using sass-listen 4.0.0
Using sass 3.6.0
Using tilt 2.0.8
Using sass-rails 5.0.7
Using selenium-webdriver 3.14.0
Using sqlite3 1.3.13
Using turbolinks-source 5.2.0
Using turbolinks 5.2.0
Using uglifier 4.1.19
Using web-console 3.7.0
Bundle complete! 16 Gemfile dependencies, 76 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
test_app
remove public/index.html
warning GENERATING BL
run bundle install from "."
Your Gemfile lists the gem chromedriver-helper (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem selenium-webdriver (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Using rake 12.3.1
Using concurrent-ruby 1.0.5
Using i18n 1.1.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.1
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Using nokogiri 1.8.4
Using rails-dom-testing 2.0.3
Using crass 1.0.4
Using loofah 2.2.2
Using rails-html-sanitizer 1.0.4
Using actionview 5.2.1
Using rack 2.0.5
Using rack-test 1.1.0
Using actionpack 5.2.1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0
Using actioncable 5.2.1
Using globalid 0.4.1
Using activejob 5.2.1
Using mini_mime 1.0.1
Using mail 2.7.0
Using actionmailer 5.2.1
Using activemodel 5.2.1
Using arel 9.0.0
Using activerecord 5.2.1
Using mimemagic 0.3.2
Using marcel 0.3.3
Using activestorage 5.2.1
Using public_suffix 3.0.3
Using addressable 2.5.2
Using io-like 0.3.0
Using archive-zip 0.11.0
Using ast 2.4.0
Using bindex 0.5.0
Using deprecation 1.0.0
Using multi_json 1.13.1
Using jbuilder 2.7.0
Using kaminari-core 1.1.1
Using kaminari-actionview 1.1.1
Using kaminari-activerecord 1.1.1
Using kaminari 1.1.1
Using bundler 1.16.1
Using method_source 0.9.0
Using thor 0.20.0
Using railties 5.2.1
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Using rails 5.2.1
Using blacklight 7.0.0.rc1 from source at `/Users/dkinzer/projects/blacklight`
Using msgpack 1.2.4
Using bootsnap 1.3.2
Using byebug 10.0.2
Using xpath 3.1.0
Using capybara 3.8.2
Using ffi 1.9.25
Using childprocess 0.9.0
Using chromedriver-helper 2.1.0
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using coffee-script 2.4.1
Using coffee-rails 4.2.2
Using unf_ext 0.0.7.5
Using unf 0.1.4
Using domain_name 0.5.20180417
Using http-cookie 1.0.3
Using mime-types-data 3.2018.0812
Using mime-types 3.2.2
Using netrc 0.11.0
Using rest-client 2.0.2
Using docile 1.3.1
Using json 2.1.0
Using simplecov-html 0.10.2
Using simplecov 0.16.1
Using tins 1.16.3
Using term-ansicolor 1.6.0
Using coveralls 0.7.1
Using diff-lcs 1.3
Using engine_cart 1.2.0
Using equivalent-xml 0.6.0
Using multipart-post 2.0.0
Using faraday 0.15.3
Using jaro_winkler 1.5.1 (x86_64-darwin-17)
Using rb-fsevent 0.10.3
Using rb-inotify 0.9.10
Using ruby_dep 1.5.0
Using listen 3.1.5
Using parallel 1.12.1
Using parser 2.5.1.2
Using powerpack 0.1.2
Using puma 3.12.0
Using rails-controller-testing 1.0.2
Using rainbow 3.0.0
Using retriable 3.1.2
Using rsolr 2.2.1
Using rspec-support 3.8.0
Using rspec-expectations 3.8.1
Using rspec-collection_matchers 1.1.3
Using rspec-core 3.8.0
Using rspec-its 1.2.0
Using rspec-mocks 3.8.0
Using rspec-rails 3.8.0
Using ruby-progressbar 1.10.0
Using unicode-display_width 1.4.0
Using rubocop 0.59.2
Using rubocop-rspec 1.29.1
Using rubyzip 1.2.2
Using sass-listen 4.0.0
Using sass 3.6.0
Using tilt 2.0.8
Using sass-rails 5.0.7
Using selenium-webdriver 3.14.0
Using solr_wrapper 2.0.0
Using sqlite3 1.3.13
Using turbolinks-source 5.2.0
Using turbolinks 5.2.0
Using uglifier 4.1.19
Using web-console 3.7.0
Bundle complete! 32 Gemfile dependencies, 123 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
generate blacklight:install
generate blacklight:solr
gemfile group :development, :test
append Gemfile
gemfile solr_wrapper (>= 0.3)
append Gemfile
append Rakefile
create solr
create solr/conf/_rest_managed.json
create solr/conf/admin-extra.html
create solr/conf/elevate.xml
create solr/conf/mapping-ISOLatin1Accent.txt
create solr/conf/protwords.txt
create solr/conf/schema.xml
create solr/conf/scripts.conf
create solr/conf/solrconfig.xml
create solr/conf/spellings.txt
create solr/conf/stopwords.txt
create solr/conf/stopwords_en.txt
create solr/conf/synonyms.txt
create solr/conf/xslt/example.xsl
create solr/conf/xslt/example_atom.xsl
create solr/conf/xslt/example_rss.xsl
create solr/conf/xslt/luke.xsl
create .solr_wrapper.yml
gemfile rsolr (>= 1.0, < 3)
gemfile bootstrap (~> 4.0)
gemfile popper_js
gemfile twitter-typeahead-rails (0.11.1.pre.corejavascript)
run bundle install from "."
Your Gemfile lists the gem chromedriver-helper (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem selenium-webdriver (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 12.3.1
Using concurrent-ruby 1.0.5
Using i18n 1.1.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.1
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Using nokogiri 1.8.4
Using rails-dom-testing 2.0.3
Using crass 1.0.4
Using loofah 2.2.2
Using rails-html-sanitizer 1.0.4
Using actionview 5.2.1
Using rack 2.0.5
Using rack-test 1.1.0
Using actionpack 5.2.1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0
Using actioncable 5.2.1
Using globalid 0.4.1
Using activejob 5.2.1
Using mini_mime 1.0.1
Using mail 2.7.0
Using actionmailer 5.2.1
Using activemodel 5.2.1
Using arel 9.0.0
Using activerecord 5.2.1
Using mimemagic 0.3.2
Using marcel 0.3.3
Using activestorage 5.2.1
Using public_suffix 3.0.3
Using addressable 2.5.2
Using io-like 0.3.0
Using archive-zip 0.11.0
Using ast 2.4.0
Using execjs 2.7.0
Using autoprefixer-rails 9.1.4
Using bindex 0.5.0
Using deprecation 1.0.0
Using multi_json 1.13.1
Using jbuilder 2.7.0
Using kaminari-core 1.1.1
Using kaminari-actionview 1.1.1
Using kaminari-activerecord 1.1.1
Using kaminari 1.1.1
Using bundler 1.16.1
Using method_source 0.9.0
Using thor 0.20.0
Using railties 5.2.1
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Using rails 5.2.1
Using blacklight 7.0.0.rc1 from source at `/Users/dkinzer/projects/blacklight`
Using msgpack 1.2.4
Using bootsnap 1.3.2
Using popper_js 1.14.3
Using rb-fsevent 0.10.3
Using ffi 1.9.25
Using rb-inotify 0.9.10
Using sass-listen 4.0.0
Using sass 3.6.0
Using bootstrap 4.1.3
Using byebug 10.0.2
Using xpath 3.1.0
Using capybara 3.8.2
Using childprocess 0.9.0
Using chromedriver-helper 2.1.0
Using coffee-script-source 1.12.2
Using coffee-script 2.4.1
Using coffee-rails 4.2.2
Using unf_ext 0.0.7.5
Using unf 0.1.4
Using domain_name 0.5.20180417
Using http-cookie 1.0.3
Using mime-types-data 3.2018.0812
Using mime-types 3.2.2
Using netrc 0.11.0
Using rest-client 2.0.2
Using docile 1.3.1
Using json 2.1.0
Using simplecov-html 0.10.2
Using simplecov 0.16.1
Using tins 1.16.3
Using term-ansicolor 1.6.0
Using coveralls 0.7.1
Using diff-lcs 1.3
Using engine_cart 1.2.0
Using equivalent-xml 0.6.0
Using multipart-post 2.0.0
Using faraday 0.15.3
Using jaro_winkler 1.5.1 (x86_64-darwin-17)
Using jquery-rails 4.3.3
Using ruby_dep 1.5.0
Using listen 3.1.5
Using parallel 1.12.1
Using parser 2.5.1.2
Using powerpack 0.1.2
Using puma 3.12.0
Using rails-controller-testing 1.0.2
Using rainbow 3.0.0
Using retriable 3.1.2
Using rsolr 2.2.1
Using rspec-support 3.8.0
Using rspec-expectations 3.8.1
Using rspec-collection_matchers 1.1.3
Using rspec-core 3.8.0
Using rspec-its 1.2.0
Using rspec-mocks 3.8.0
Using rspec-rails 3.8.0
Using ruby-progressbar 1.10.0
Using unicode-display_width 1.4.0
Using rubocop 0.59.2
Using rubocop-rspec 1.29.1
Using rubyzip 1.2.2
Using tilt 2.0.8
Using sass-rails 5.0.7
Using selenium-webdriver 3.14.0
Using solr_wrapper 2.0.0
Using sqlite3 1.3.13
Using turbolinks-source 5.2.0
Using turbolinks 5.2.0
Using twitter-typeahead-rails 0.11.1.pre.corejavascript
Using uglifier 4.1.19
Using web-console 3.7.0
Bundle complete! 35 Gemfile dependencies, 128 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
generate blacklight:assets
create app/assets/stylesheets/blacklight.scss
insert app/assets/javascripts/application.js
gemfile jquery-rails
generate blacklight:document
create app/models/solr_document.rb
generate blacklight:search_builder
create app/models/search_builder.rb
create spec/models/search_builder_spec.rb
generate blacklight:models
create config/blacklight.yml
rake blacklight:install:migrations
Copied migration 20181002190005_create_searches.blacklight.rb from blacklight
Copied migration 20181002190006_create_bookmarks.blacklight.rb from blacklight
Copied migration 20181002190007_add_polymorphic_type_to_bookmarks.blacklight.rb from blacklight
route
concern :exportable, Blacklight::Routes::Exportable.new
resources :solr_documents, only: [:show], path: '/catalog', controller: 'catalog' do
concerns :exportable
end
resources :bookmarks do
concerns :exportable
collection do
delete 'clear'
end
end
generate blacklight:user
gemfile devise
gemfile devise-guests (~> 0.6)
run bundle install from "."
Your Gemfile lists the gem chromedriver-helper (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem selenium-webdriver (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 12.3.1
Using concurrent-ruby 1.0.5
Using i18n 1.1.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.1
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Using nokogiri 1.8.4
Using rails-dom-testing 2.0.3
Using crass 1.0.4
Using loofah 2.2.2
Using rails-html-sanitizer 1.0.4
Using actionview 5.2.1
Using rack 2.0.5
Using rack-test 1.1.0
Using actionpack 5.2.1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0
Using actioncable 5.2.1
Using globalid 0.4.1
Using activejob 5.2.1
Using mini_mime 1.0.1
Using mail 2.7.0
Using actionmailer 5.2.1
Using activemodel 5.2.1
Using arel 9.0.0
Using activerecord 5.2.1
Using mimemagic 0.3.2
Using marcel 0.3.3
Using activestorage 5.2.1
Using public_suffix 3.0.3
Using addressable 2.5.2
Using io-like 0.3.0
Using archive-zip 0.11.0
Using ast 2.4.0
Using execjs 2.7.0
Using autoprefixer-rails 9.1.4
Using bcrypt 3.1.12
Using bindex 0.5.0
Using deprecation 1.0.0
Using multi_json 1.13.1
Using jbuilder 2.7.0
Using kaminari-core 1.1.1
Using kaminari-actionview 1.1.1
Using kaminari-activerecord 1.1.1
Using kaminari 1.1.1
Using bundler 1.16.1
Using method_source 0.9.0
Using thor 0.20.0
Using railties 5.2.1
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Using rails 5.2.1
Using blacklight 7.0.0.rc1 from source at `/Users/dkinzer/projects/blacklight`
Using msgpack 1.2.4
Using bootsnap 1.3.2
Using popper_js 1.14.3
Using rb-fsevent 0.10.3
Using ffi 1.9.25
Using rb-inotify 0.9.10
Using sass-listen 4.0.0
Using sass 3.6.0
Using bootstrap 4.1.3
Using byebug 10.0.2
Using xpath 3.1.0
Using capybara 3.8.2
Using childprocess 0.9.0
Using chromedriver-helper 2.1.0
Using coffee-script-source 1.12.2
Using coffee-script 2.4.1
Using coffee-rails 4.2.2
Using unf_ext 0.0.7.5
Using unf 0.1.4
Using domain_name 0.5.20180417
Using http-cookie 1.0.3
Using mime-types-data 3.2018.0812
Using mime-types 3.2.2
Using netrc 0.11.0
Using rest-client 2.0.2
Using docile 1.3.1
Using json 2.1.0
Using simplecov-html 0.10.2
Using simplecov 0.16.1
Using tins 1.16.3
Using term-ansicolor 1.6.0
Using coveralls 0.7.1
Using orm_adapter 0.5.0
Using responders 2.4.0
Using warden 1.2.7
Using devise 4.5.0
Using devise-guests 0.6.1
Using diff-lcs 1.3
Using engine_cart 1.2.0
Using equivalent-xml 0.6.0
Using multipart-post 2.0.0
Using faraday 0.15.3
Using jaro_winkler 1.5.1 (x86_64-darwin-17)
Using jquery-rails 4.3.3
Using ruby_dep 1.5.0
Using listen 3.1.5
Using parallel 1.12.1
Using parser 2.5.1.2
Using powerpack 0.1.2
Using puma 3.12.0
Using rails-controller-testing 1.0.2
Using rainbow 3.0.0
Using retriable 3.1.2
Using rsolr 2.2.1
Using rspec-support 3.8.0
Using rspec-expectations 3.8.1
Using rspec-collection_matchers 1.1.3
Using rspec-core 3.8.0
Using rspec-its 1.2.0
Using rspec-mocks 3.8.0
Using rspec-rails 3.8.0
Using ruby-progressbar 1.10.0
Using unicode-display_width 1.4.0
Using rubocop 0.59.2
Using rubocop-rspec 1.29.1
Using rubyzip 1.2.2
Using tilt 2.0.8
Using sass-rails 5.0.7
Using selenium-webdriver 3.14.0
Using solr_wrapper 2.0.0
Using sqlite3 1.3.13
Using turbolinks-source 5.2.0
Using turbolinks 5.2.0
Using twitter-typeahead-rails 0.11.1.pre.corejavascript
Using uglifier 4.1.19
Using web-console 3.7.0
Bundle complete! 38 Gemfile dependencies, 134 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
generate devise:install
create config/initializers/devise.rb
create config/locales/devise.en.yml
===============================================================================
Some setup you must do manually if you haven't yet:
1. Ensure you have defined default url options in your environments files. Here
is an example of default_url_options appropriate for a development environment
in config/environments/development.rb:
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
In production, :host should be set to the actual host of your application.
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
root to: "home#index"
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
For example:
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
4. You can copy Devise views (for customization) to your app by running:
rails g devise:views
===============================================================================
generate devise
invoke active_record
create db/migrate/20181002190013_devise_create_users.rb
create app/models/user.rb
invoke rspec
create spec/models/user_spec.rb
insert app/models/user.rb
route devise_for :users
generate devise_guests
invoke active_record
create db/migrate/20181002190015_add_devise_guests_to_users.rb
insert app/models/user.rb
gsub config/initializers/devise.rb
insert app/models/user.rb
generate blacklight:controller
insert app/controllers/application_controller.rb
create app/controllers/catalog_controller.rb
route concern :searchable, Blacklight::Routes::Searchable.new
resource :catalog, only: [:index], as: 'catalog', path: '/catalog', controller: 'catalog' do
concerns :searchable
end
route root to: "catalog#index"
insert config/application.rb
create config/locales/blacklight.en.yml
route mount Blacklight::Engine => '/'
warning GENERATING test_support
generate blacklight:test_support
create app/controllers/alternate_controller.rb
insert config/routes.rb
insert app/models/solr_document.rb
insert config/environments/test.rb
== 20181002190005 CreateSearches: migrating ===================================
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- create_table(:searches, {:id=>:integer})
-> 0.0013s
== 20181002190005 CreateSearches: migrated (0.0014s) ==========================
== 20181002190006 CreateBookmarks: migrating ==================================
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- create_table(:bookmarks, {:id=>:integer})
-> 0.0022s
== 20181002190006 CreateBookmarks: migrated (0.0024s) =========================
== 20181002190007 AddPolymorphicTypeToBookmarks: migrating ====================
== 20181002190007 AddPolymorphicTypeToBookmarks: migrated (0.0068s) ===========
== 20181002190013 DeviseCreateUsers: migrating ================================
-- create_table(:users)
-> 0.0007s
-- add_index(:users, :email, {:unique=>true})
-> 0.0004s
-- add_index(:users, :reset_password_token, {:unique=>true})
-> 0.0005s
== 20181002190013 DeviseCreateUsers: migrated (0.0017s) =======================
== 20181002190015 AddDeviseGuestsToUsers: migrating ===========================
-- change_table(:users)
-> 0.0007s
== 20181002190015 AddDeviseGuestsToUsers: migrated (0.0007s) ==================
Done generating test app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment