search-admin application manages search "best bets" and "external links" along with other search and browse data.
This is a Ruby on Rails application that manages search "best bets" and "external links" along with other search and browse data. It is behind the signon authentication system and doesn't have a public API.
- alphagov/publishing-api - search-admin publishes external links to the publishing API
- alphagov/rummager - search-admin sends updates to rummager when best bets are edited
Running the application
The app runs on port 3073. If you're using the dev VM it will be available at http://search-admin.dev.gov.uk/
Creating the mysql user
The database.yml for this project is checked into source control so you'll need a local user with credentials that match those in database.yml.
mysql> grant all on `search_admin\_%`.* to search_admin@localhost identified by 'search_admin';
Running the test suite
bundle exec rake
bundle exec rake publish_external_links:publishing_api to send all external links to the publishing API.