This repository contains the beta-stage frontend component of data.gov.uk
There are currently 3 ways to run this repo locally:
- Via govuk-dgu-charts - An end to end setup from ckan to opensearch to Find. This is the presently most supported means for running Find and is recommended for local development. Instructions for how to setup and run Find this way available on the linked repo.
- Manual installation. Instructions for this below.
- Via govuk-docker - You can
make
Find as you would any other repo supported by govuk-docker using this method. This is the quickest means to setup Find however this will not give you a complete visual setup and is primarily for running tests.
You will need to install the following for development.
- rbenv or similar to manage ruby versions
- bundler to manage gems
- opensearch search engine
- postgresql database
- yarn to manage node packages
- data.gov.uk Publish to populate opensearch
Most of these can be installed with Homebrew on a Mac.
First run bin/setup
to bundle, etc. Then run rails s
.
See the developer docs on data.gov.uk deployment
- Find landing page: https://data.gov.uk
- Search results: https://data.gov.uk/search?filters%5Btopic%5D=Environment
- Dataset: https://data.gov.uk/dataset/ce5f9a81-742d-4446-8610-2ec138e1b7e5/st-john-s-lake-intertidal-biotope-map-tamar-estuary-plymouth
- Dataset with publisher login: https://data.gov.uk/dataset/cf725d50-6535-4f8b-bc98-5ab01aa866a7/grants-to-voluntary-community-and-social-enterprise-organisations-local-government-transparency-code
- Support page: https://data.gov.uk/support
- Publisher login page: https://data.gov.uk/publishers