Ruby HTML JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
data
db
doc
lib
log
public
spec
vendor
.gitignore
.rspec
.ruby-version
CONTRIBUTING.md
Gemfile
Gemfile.lock
Jenkinsfile
README.md
Rakefile
config.ru
startup.sh

README.md

licence-finder

To get set up with Licence Finder, first make sure you're up to date with puppet.

Load the data into MongoDB

bundle exec rake data_import:all

Load the data into Elasticsearch

bundle exec rake search:index

Migrating your Licence data to use gds_id instead of correlation_id (This happens automatically on importing licences)

bundle exec rake licence_migrate

Running the application

Using bowler on the VM from cd /var/govuk/development/:

bowl licencefinder

If you are using the GDS development virtual machine then the application will be available on the host at http://licencefinder.dev.gov.uk/licence-finder

Publishing to GOV.UK

  • bundle exec rake publishing_api:publish will send the licence finder pages to the publishing-api.

Search indexing

  • bundle exec rake rummager:index will send the data to Rummager for indexing in search.