Skip to content

Commit

Permalink
Update solr server notes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
elohanlon committed Dec 23, 2024
1 parent 150d734 commit ade1b9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ will create a core called "acfa".
1. Install Ruby dependencies with `bundle install`. The application Gemfile indicates the required Ruby version.
2. Run the rspec suite with `bundle exec rspec` - this will set up the default template configurations
3. Run the database migrations against sqlite in development with `bundle exec rake db:migrate`
4. To run with a local Solr instance: Run `bundle exec rake acfa:server` - this will bring up solr, seed it with example data, and start rails. To run with the Solr container: run `bundle exec rake acfa:seed` then run `bundle exec rails s`.
4. For running Solr, you have two options:
1. **Option 1:** Run `docker compose up` to start the solr server and then run `bundle exec rake acfa:seed` to seed the solr server with sample data. When you are done with development and wish to shut down the solr server, press ctrl+c to stop the foreground docker process and then run `docker compose down` to fully clean up the docker container.
2. **Option 2:** Run `bundle exec rake acfa:server` to start up solr, seed it with example data, and start rails.

0 comments on commit ade1b9a

Please sign in to comment.