create-snagset 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/template/README.md +6 -1
- package/package.json +1 -1
package/dist/template/README.md
CHANGED
|
@@ -89,12 +89,17 @@ file free of comment keys — Vercel's schema rejects them. Set `DATABASE_URL`
|
|
|
89
89
|
to the **transaction pooler** string (Supabase from the marketplace sets a
|
|
90
90
|
pooled one for you), set `SNAGSET_SECRET_KEY` (required on serverless — the
|
|
91
91
|
filesystem is ephemeral, so a generated key would differ per instance and
|
|
92
|
-
nothing would decrypt) and `CRON_SECRET
|
|
92
|
+
nothing would decrypt) and `CRON_SECRET`. Vercel does not migrate for you —
|
|
93
|
+
after each upgrade, run this here, with the deployment's `DATABASE_URL` in
|
|
94
|
+
`.env` (not as Vercel's build command: Vercel fails a build that leaves no
|
|
95
|
+
static output):
|
|
93
96
|
|
|
94
97
|
```
|
|
95
98
|
npx snagset migrate
|
|
96
99
|
```
|
|
97
100
|
|
|
101
|
+
If it is forgotten, the dashboard shows a banner on every page until it is run.
|
|
102
|
+
|
|
98
103
|
**Anything that runs Node.** `pnpm start`. It serves the API, the dashboard and
|
|
99
104
|
the widget on one port.
|
|
100
105
|
|