Skip to main content
Table of contents

Application: search-admin

Admin for GOV.UK search

Ownership

#govuk-platform-health owns the application and is responsible for updating its dependencies.

Hosting

The production version of this application is hosted on AWS.

SSH Access (AWS)

gds govuk connect ssh -e integration backend
gds govuk connect ssh -e staging aws/backend
gds govuk connect ssh -e production aws/backend

Run a rake task

Example pages published by search-admin

README

Warning The content below is pulled in directly from the repository.
Links might not function properly.

The search-admin application manages search “best bets” and “external links” along with other search and browse data.

Screenshots

Search Admin

Live example

Technical documentation

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.

Dependencies

Running the application

./startup.sh

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> create user 'search_admin'@'localhost' identified by 'search_admin';
    mysql> grant all on `search_admin\_%`.* to search_admin@localhost;
    mysql> flush privileges;

Running the test suite

bundle exec rake

Run bundle exec rake publish_external_links:publishing_api to send all external links to the publishing API.

Licence

MIT License