-
-
Notifications
You must be signed in to change notification settings - Fork 813
Closed
Labels
Milestone
Description
% mkdir /tmp/data % cp ~/Dropbox/Development/datasette/fixtures.db /tmp/data % datasette /tmp/data/*.db /tmp/data/created.db --create -p 8852 ... INFO: Uvicorn running on http://127.0.0.1:8852 (Press CTRL+C to quit) ^CINFO: Shutting down % datasette /tmp/data/*.db /tmp/data/created.db --create -p 8852 ... INFO: 127.0.0.1:49533 - "GET / HTTP/1.1" 200 OKThe first time I ran Datasette I got two databases -
fixturesandcreatedBUT... when I ran Datasette the second time it looked like this:
![]()
This is the same result you get if you run:
datasette /tmp/data/fixtures.db /tmp/data/created.db /tmp/data/created.dbThis is caused by this Datasette issue:
So... either I teach Datasette to de-duplicate multiple identical file paths passed to the command, or I can't use
/data/*.dbin theDockerfilehere and I need to go back to other solutions for the challenge described in this comment: simonw/datasette-publish-fly#12 (comment)
Originally posted by @simonw in simonw/datasette-publish-fly#12 (comment)
Reactions are currently unavailable
