GeoBlacklight Quick Start
This guide covers the quickest way to get up and running with GeoBlacklight, including:
- How to install GeoBlacklight on your local computer.
- How to create a new application.
- How to add and index geospatial content.
Installation
Bootstrap a new GeoBlacklight Ruby on Rails application using the template script:
DISABLE_SPRING=1 rails new app-name -m https://raw.githubusercontent.com/geoblacklight/geoblacklight/v4.4.1/template.rb
geoblacklight:server
rake task to run the application:
$ cd app-name
$ bundle exec rake geoblacklight:server
- Visit your GeoBlacklight application at: http://localhost:3000
- Visit the Solr admin panel at: http://localhost:8983/solr/#/blacklight-core
Index Example Data
With your Solr server and Rails server already running (via the geoblacklight:server
rake task above), open a new terminal window and index the GeoBlacklight project's test fixtures via:
$ bundle exec rake "geoblacklight:index:seed[:remote]"