Skip to content

Commit

Permalink
chore(templates): add initial migrations for vercel with website temp…
Browse files Browse the repository at this point in the history
…late (#9706)

Adds the initial migration files needed for vercel deployments to work
and updated .env examples
  • Loading branch information
paulpopus authored Dec 3, 2024
1 parent 0c34f27 commit 3f32224
Show file tree
Hide file tree
Showing 5 changed files with 9,787 additions and 2 deletions.
3 changes: 3 additions & 0 deletions templates/website/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Database connection string
DATABASE_URI=mongodb://127.0.0.1/payload-template-website

# Or use a PG connection string
#DATABASE_URI=postgresql://127.0.0.1:5432/payload-template-website

# Used to encrypt JWT tokens
PAYLOAD_SECRET=YOUR_SECRET_HERE

Expand Down
7 changes: 5 additions & 2 deletions templates/with-vercel-website/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Database connection string
POSTGRES_URL=mongodb://127.0.0.1/payload-template-website
POSTGRES_URL=postgresql://127.0.0.1:5432/payload-template-website
# Used to encrypt JWT tokens
PAYLOAD_SECRET=YOUR_SECRET_HERE
# Used to configure CORS, format links and more. No trailing slash
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
NEXT_PUBLIC_SERVER_URL=http://localhost:3000

# Your Vercel Blob storage write token
BLOB_READ_WRITE_TOKEN='vercel_blob_rw_test_123'
Loading

0 comments on commit 3f32224

Please sign in to comment.