mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Reworked metadata building options
Building metadata is now optional. If you want to do it, do this:
datasette build *.db --metadata=metadata.json
Then when you run the server you can tell it to read from metadata:
datasette serve *.db --metadata=metadata.json
The Dockerfile generated by datasette publish now uses this mechanism.
Closes #60
This commit is contained in:
parent
ad8b5d3bd2
commit
40a563ebac
4 changed files with 98 additions and 89 deletions
2
setup.py
2
setup.py
|
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||
|
||||
setup(
|
||||
name='datasette',
|
||||
version='0.1',
|
||||
version='0.2',
|
||||
packages=find_packages(),
|
||||
package_data={'datasette': ['templates/*.html']},
|
||||
include_package_data=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue