-
Notifications
You must be signed in to change notification settings - Fork 2
GeoBlacklight 1.9 Upgrade Notes
- GitHub project board
- clone geoblacklight
- clone spatial_data_repository
- cd geoblacklight
- git checkout 2a4960d5e3b0e7e75b8e50e144f982e5f393edcf
- bundle
- bundle exec rake geoblacklight:server
- cd spatial_data_repository
- bundle
- bundle exec rails server --port=3001
Error / Figs related Devise.secret_key was not set. Please add the following to your Devise initializer: (RuntimeError) config.secret_key = ‘2c847492b6d434c808e63a93ff16a7a897aa4c09943edaaf7aa498a29649048113cf55731282e39a82ae7ce3fb9f1087586d474fc483ad6f63806986a5a02a6c'
Added secret_key to devise.rb initializer (@TODO: temp fix)
- bundle exec rails server --port=3001
Error / Figs related / Rails deprecation
ERROR RuntimeError: Missing secret_key_base
for 'development' environment, set this value in config/secrets.yml
- bundle exec rake secret
Added rake value to config/secrets.yml (@TODO: temp fix)
- bundle exec rails server --port=3001
Error / Figs related / Database config Mysql2::Error (Access denied for user 'root'@'localhost' (using password: NO)):
Set development env database.yml to: sqlite3 (@TODO: temp fix)
- bundle exec rails server --port=3001
Error / Figs related / Solr config Set blacklight.yml solr connection to GBL (@TODO: temp fix)
- bundle exec rails server --port=3001
Error / Could not find table ‘users'
- bundle exec rake db:schema:load
- bundle exec rails server --port=3001
- Homepage loads
- Search results load
- Stanford, Tufts, MIT, Princeton results load
- 404 pages for old-style NYU slugs
- http://localhost:3001/catalog/nyu_2451_34502 / SDR fails to load (@TODO: test custom 404?)
- http://localhost:3000/catalog/nyu_2451_34502 / GBL loads record fine… (@TODO)
- https://github.com/NYULibraries/spatial_data_repository/commit/84c53a10e059b6143fdc3745cd9a033eac631e1a
- Facets
- Missing NYU “Format” facet (in local dev / GBL solr / custom “nyu_addl_format_sm" field)
- Key not found “nyu_addl_format_sm” (local Solr/GBL customization)
- Git: shall we git flow repo?
- Add: Empty/Blank search to “browse” collection
- Add: Leaflet fullscreen toggle
- Add: Solr synonyms
- Gems: sitemap_generator, blacklight_advanced_search, blacklight_range_limit
ENV vars for local dev environment.
- Add a local config/vars.yml file.
- Add values for these vars:
- SECRET_KEY_BASE:
- DEVISE_SECRET_TOKEN:
- SOLR_URL:
- SQL_HOST:
- SQL_PORT:
- SQL_DB:
- SQL_USER:
- SQL_PASS:
Once in place, you can remove @TODO local overrides for solr, database, devise, secret_key_base
- bundle exec rails test
ERROR: Devise.secret_key was not set
Add test env to FIGS config/vars.yml