Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.82 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.82 KB

Datasette Builder

License deploy datasette

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.

Usage

Deploy changes

To deploy changes, just add and commit any changes and push to GitHub. Any deployments requiring approval can be found here.

Test changes locally

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

Licence

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.