2018-07-11 02:04:13 +00:00
|
|
|
$ datasette serve --help
|
|
|
|
|
2018-07-24 16:03:07 +00:00
|
|
|
Usage: datasette serve [OPTIONS] [FILES]...
|
2018-07-11 02:04:13 +00:00
|
|
|
|
|
|
|
Serve up specified SQLite database files with a web UI
|
|
|
|
|
|
|
|
Options:
|
|
|
|
-h, --host TEXT host for server, defaults to 127.0.0.1
|
|
|
|
-p, --port INTEGER port for server, defaults to 8001
|
|
|
|
--debug Enable debug mode - useful for development
|
2018-12-20 15:51:08 +00:00
|
|
|
--reload Automatically reload if database or code change detected -
|
|
|
|
useful for development
|
2018-07-24 16:00:10 +00:00
|
|
|
--cors Enable CORS by serving Access-Control-Allow-Origin: *
|
2018-07-11 02:04:13 +00:00
|
|
|
--load-extension PATH Path to a SQLite extension to load
|
2018-07-24 16:00:10 +00:00
|
|
|
--inspect-file TEXT Path to JSON file created using "datasette inspect"
|
|
|
|
-m, --metadata FILENAME Path to JSON file containing license/source metadata
|
2018-07-11 02:04:13 +00:00
|
|
|
--template-dir DIRECTORY Path to directory containing custom templates
|
|
|
|
--plugins-dir DIRECTORY Path to directory containing custom plugins
|
2018-07-24 16:00:10 +00:00
|
|
|
--static STATIC MOUNT mountpoint:path-to-directory for serving static files
|
2018-07-11 02:04:13 +00:00
|
|
|
--config CONFIG Set config option using configname:value
|
|
|
|
datasette.readthedocs.io/en/latest/config.html
|
|
|
|
--version-note TEXT Additional note to show on /-/versions
|
|
|
|
--help-config Show available config options
|
|
|
|
--help Show this message and exit.
|