Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(templates): add initial migrations for vercel with website template #9706

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading