This repository contains files to build a docker image that will leverage EFS to access digital-land database files and serve them using Datasette.
The sqlite databases are automatically synced to EFS from the collection S3 bucket for the environment. For this reason the application cannot be run locally.
To deploy changes, just add and commit any changes and push to GitHub. Any deployments requiring approval can be found here.
To test changes locally you will need the following requirements:
- docker
- docker-compose
- jq
- aws cli
You will also need AWS credentials in your environment, the preference is to use aws-vault for this.
You will also need the name of an S3 bucket that has the required sqlite files.
aws-vault exec dl-prod -- make start BUCKET=<environment>-collection-data
The software in this project is open source and covered by the LICENSE file.
Individual datasets copied into this repository may have specific copyright and licensing, otherwise all content and data in this repository is © Crown copyright and available under the terms of the Open Government 3.0 licence.