Datasette plugin for publishing data using Fly.
Install this plugin in the same environment as Datasette.
$ pip install datasette-publish-fly
First, install the flyctl
command-line tool by following their instructions.
Run flyctl auth signup
to create an account there, or flyctl auth login
if you already have one.
Now you can use datasette publish fly
to publish your data:
datasette publish fly my-database.db --app="my-data-app"
The argument you pass to --app
will be used for the URL of your application: my-data-app.fly.dev
.
To update an application, run the publish command passing the same application name to the --app
option.
Fly will charge you monthly for each application you have live. Details of their pricing can be found on their site.