An open source multi-tool for exploring and publishing data https://datasette.io
  • Python 88.4%
  • HTML 7.5%
  • JavaScript 2.4%
  • CSS 1.2%
  • Shell 0.3%
  • Other 0.1%
Find a file
Simon Willison 4143e3b45c New command: datasette package - packages a docker container
Example usage:

    datasette package fivethirtyeight.db \
        --tag fivethirtyeight \
        --metadata=538-metadata.json

This will create a temporary directory, generate a Dockerfile, copy in the
SQLite database and metadata file, then build that as a new docker image and
tag that in your local Docker repository as fivethirtyeight:latest.

You can then run the image like so:

    docker run -p 8006:8001 fivethirtyeight

This will expose port 8001 in the container (the default) as port 8006 on your
host.

Closes #67
2017-11-13 08:17:35 -08:00
datasette New command: datasette package - packages a docker container 2017-11-13 08:17:35 -08:00
tests Handle table names with slashes in them 2017-11-12 15:17:00 -08:00
.gitignore Implemented multi-db support plus initial URL structure 2017-10-23 19:00:37 -07:00
.travis.yml Configured Travis CI 2017-11-04 16:47:46 -07:00
LICENSE Initial commit 2017-10-22 17:39:03 -07:00
MANIFEST.in Renamed to 'datasette' 2017-11-10 10:38:35 -08:00
setup.cfg python setup.py test now runs the tests 2017-11-04 16:40:27 -07:00
setup.py serve and publish commands now take a --metadata option 2017-11-13 07:20:02 -08:00