Closed simonw closed 2 years ago
Manually tested this like so:
% datasette publish fly ../datasette/fixtures.db -a my-fixtures-generated -m ../datasette/metadata.json --generate-dir=/tmp/deploy-this
% cd /tmp/deploy-this
% ls
Dockerfile fixtures.db fly.toml metadata.json
% flyctl apps create my-fixtures-generated
automatically selected personal organization: Simon Willison
New app created: my-fixtures-generated
% flyctl deploy
Update available 0.0.288 -> v0.0.289.
Run "flyctl version update" to upgrade.
==> Verifying app config
--> Verified app config
...
--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/my-fixtures-generated]
84fa04a44c00: Pushed
...
image: registry.fly.io/my-fixtures-generated:deployment-1643240388
image size: 905 MB
==> Creating release
--> release v2 created
--> You can detach the terminal anytime without stopping the deployment
==> Monitoring deployment
v0 is being deployed
https://my-fixtures-generated.fly.dev/ started working about three minutes after I ran the deploy.
Now deleting the test app:
% flyctl apps destroy my-fixtures-generated --yes
Destroyed app my-fixtures-generated