Install Searchjoy
masterTo install Searchjoy in your Rails application, add the gem to your Gemfile, run the installation generator to create the necessary database migrations, and mount the engine in your routes.
Note: You must protect the dashboard endpoint in production using authentication (see the Authentication section).
# 1. Add to Gemfile
gem "searchjoy"# 2. Run generator and migrate
rails generate searchjoy:install
rails db:migrate# 3. Mount in config/routes.rb
mount Searchjoy::Engine, at: "searchjoy"