simonw / big-local-datasette

Publishing a Datasette of open projects from biglocalnews.org
https://biglocal.datasettes.com/
2 stars 0 forks source link

Give each project a separate database #6

Closed simonw closed 4 years ago

simonw commented 4 years ago

Easiest way to group the tables together at the moment.

simonw commented 4 years ago

What should the database filename be? I'm going to go with a de-duped name based on the name of the project - spaces converted to underscores and a -2 added at the end if the name is already in use.

simonw commented 4 years ago

Deploying with:

datasette publish cloudrun *.db     \
  --service=biglocal     \
  --install=datasette-auth-github     \
  --plugin-secret datasette-auth-github client_id f4084e44a25d23ce1c99     \
  --plugin-secret datasette-auth-github client_secret 8a428d8092e6eac84d1eb6ada315a4e016b9e34f     \
  --plugin-secret datasette-auth-github allow_org biglocalnews \
  --memory=2Gi