-
Notifications
You must be signed in to change notification settings - Fork 0
4. Starting the App and Getting Oriented
Christina Chortaria edited this page Jan 30, 2020
·
7 revisions
Starting the app & getting oriented to the command line
Before we can begin work:
cd workshop-app-2020
Following: https://github.com/geoblacklight/workshop-app/wiki/2.-Prerequisites#option-1
Start Solr and the Rails web server:
gblstack up
Index the solr documents from the "solr_documents" directory:
docker exec -it gblstack_web_1 rake geoblacklight:index:directory["solr_documents"]
Following: https://github.com/geoblacklight/workshop-app/wiki/2.-Prerequisites#option-2
Start Solr and the Rails web server:
bundle exec rake geoblacklight:server
Index the solr documents from the "solr_documents" directory:
bundle exec rake geoblacklight:index:directory["solr_documents"]
You are effectively starting a version of Solr, indexing it with some sample documents, and then starting a local Rails server. This should take a minute or two to complete, but once it does, visit http://localhost:3000 in a new browser tab. You should see a working GeoBlacklight.