Skip to content

Commit 3f32224

Browse files
authored
chore(templates): add initial migrations for vercel with website template (#9706)
Adds the initial migration files needed for vercel deployments to work and updated .env examples
1 parent 0c34f27 commit 3f32224

File tree

5 files changed

+9787
-2
lines changed

5 files changed

+9787
-2
lines changed

templates/website/.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Database connection string
22
DATABASE_URI=mongodb://127.0.0.1/payload-template-website
33

4+
# Or use a PG connection string
5+
#DATABASE_URI=postgresql://127.0.0.1:5432/payload-template-website
6+
47
# Used to encrypt JWT tokens
58
PAYLOAD_SECRET=YOUR_SECRET_HERE
69

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Database connection string
2-
POSTGRES_URL=mongodb://127.0.0.1/payload-template-website
2+
POSTGRES_URL=postgresql://127.0.0.1:5432/payload-template-website
33
# Used to encrypt JWT tokens
44
PAYLOAD_SECRET=YOUR_SECRET_HERE
55
# Used to configure CORS, format links and more. No trailing slash
6-
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
6+
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
7+
8+
# Your Vercel Blob storage write token
9+
BLOB_READ_WRITE_TOKEN='vercel_blob_rw_test_123'

0 commit comments

Comments
 (0)