home / github / commits

Menu
  • GraphQL API

commits: 3ef35ca8b4369af6a8bcdd9e5cfbb5f3a7d17cf8

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
3ef35ca8b4369af6a8bcdd9e5cfbb5f3a7d17cf8 serve and publish commands now take a --metadata option If provided, the --metadata option is the path to a JSON file containing metadata that should be displayed alongside the dataset. datasette /tmp/fivethirtyeight.db --metadata /tmp/metadata.json Currently that metadata format looks like this: { "title": "Five Thirty Eight", "license": "CC Attribution 4.0 License", "license_url": "http://creativecommons.org/licenses/by/4.0/", "source": "fivethirtyeight/data on GitHub", "source_url": "https://github.com/fivethirtyeight/data" } If provided, this will be used by the index template and to populate the common footer. The publish command also accepts this argument, and will package any provided metadata up and include it with the resulting Docker container. datasette publish --metadata /tmp/metadata.json /tmp/fivethirtyeight.db Closes #68 2017-11-13T15:20:02Z 2017-11-13T15:20:02Z 2946d096d0cdefdc017559e6b57e87658736e843 2946d096d0cdefdc017559e6b57e87658736e843 107914493 9599 9599
Powered by Datasette · Queries took 0.939ms