{"ok": true, "next": null, "rows": [{"id": "cli-reference:cli-help-serve-help", "page": "cli-reference", "ref": "cli-help-serve-help", "title": "datasette serve", "content": "This command starts the Datasette web application running on your machine: \n             datasette serve mydatabase.db \n             Or since this is the default command you can run this instead: \n             datasette mydatabase.db \n             Once started you can access it at  http://localhost:8001 \n             [[[cog\nhelp([\"serve\", \"--help\"]) \n             ]]] \n             Usage: datasette serve [OPTIONS] [FILES]...\n\n  Serve up specified SQLite database files with a web UI\n\nOptions:\n  -i, --immutable PATH            Database files to open in immutable mode\n  -h, --host TEXT                 Host for server. Defaults to 127.0.0.1 which\n                                  means only connections from the local machine\n                                  will be allowed. Use 0.0.0.0 to listen to all\n                                  IPs and allow access from other machines.\n  -p, --port INTEGER RANGE        Port for server, defaults to 8001. Use -p 0 to\n                                  automatically assign an available port.\n                                  [0<=x<=65535]\n  --uds TEXT                      Bind to a Unix domain socket\n  --reload                        Automatically reload if code or metadata\n                                  change detected - useful for development\n  --cors                          Enable CORS by serving Access-Control-Allow-\n                                  Origin: *\n  --load-extension PATH:ENTRYPOINT?\n                                  Path to a SQLite extension to load, and\n                                  optional entrypoint\n  --inspect-file TEXT             Path to JSON file created using \"datasette\n                                  inspect\"\n  -m, --metadata FILENAME         Path to JSON/YAML file containing\n                                  license/source metadata\n  --template-dir DIRECTORY        Path to directory containing custom templates\n  --plugins-dir DIRECTORY         Path to directory containing custom plugins\n  --static MOUNT:DIRECTORY        Serve static files from this directory at\n                                  /MOUNT/...\n  --memory                        Make /_memory database available\n  -c, --config FILENAME           Path to JSON/YAML Datasette configuration file\n  -s, --setting SETTING...        nested.key, value setting to use in Datasette\n                                  configuration\n  --secret TEXT                   Secret used for signing secure values, such as\n                                  signed cookies\n  --root                          Output URL that sets a cookie authenticating\n                                  the root user\n  --default-deny                  Deny all permissions by default\n  --get TEXT                      Run an HTTP GET request against this path,\n                                  print results and exit\n  --headers                       Include HTTP headers in --get output\n  --token TEXT                    API token to send with --get requests\n  --actor TEXT                    Actor to use for --get requests (JSON string)\n  --version-note TEXT             Additional note to show on /-/versions\n  --help-settings                 Show available settings\n  --pdb                           Launch debugger on any errors\n  -o, --open                      Open Datasette in your web browser\n  --create                        Create database files if they do not exist\n  --crossdb                       Enable cross-database joins using the /_memory\n                                  database\n  --nolock                        Ignore locking, open locked files in read-only\n                                  mode\n  --ssl-keyfile TEXT              SSL key file\n  --ssl-certfile TEXT             SSL certificate file\n  --internal PATH                 Path to a persistent Datasette internal SQLite\n                                  database\n  --help                          Show this message and exit. \n             [[[end]]]", "breadcrumbs": "[\"CLI reference\"]", "references": "[]"}], "truncated": false}