Update Vercel storage docs
This commit is contained in:
parent
5e6e13ea09
commit
e18af1a07d
@ -28,7 +28,9 @@ https://photos.sambecker.com
|
||||
### 1. Deploy to Vercel
|
||||
|
||||
1. Click [Deploy](https://vercel.com/new/clone?demo-title=Photo+Blog&demo-description=Store+photos+with+original+camera+data&demo-url=https%3A%2F%2Fphotos.sambecker.com&demo-image=https%3A%2F%2Fphotos.sambecker.com%2Ftemplate-image-tight&project-name=Photo+Blog&repository-name=exif-photo-blog&repository-url=https%3A%2F%2Fgithub.com%2Fsambecker%2Fexif-photo-blog&from=templates&skippable-integrations=1&teamCreateStatus=hidden&stores=%5B%7B%22type%22%3A%22postgres%22%7D%2C%7B%22type%22%3A%22blob%22%7D%5D)
|
||||
2. Add required storage ([Vercel Postgres](https://vercel.com/docs/storage/vercel-postgres/quickstart#create-a-postgres-database) + [Vercel Blob](https://vercel.com/docs/storage/vercel-blob/quickstart#create-a-blob-store)) as part of template installation
|
||||
2. Add required storage ([Vercel Postgres](https://vercel.com/docs/postgres) + [Vercel Blob](https://vercel.com/docs/vercel-blob)) as part of template installation
|
||||
- _When creating new blob store, make sure to configure as "public"_
|
||||
- _Preferred postgres provider: Neon, from Vercel Marketplace_
|
||||
3. Configure environment variable for production domain in project settings
|
||||
- `NEXT_PUBLIC_DOMAIN` (e.g., photos.domain.com—used in absolute urls and seen in navigation if no explicit nav title is set)
|
||||
|
||||
|
||||
@ -286,8 +286,7 @@ export default function AdminAppConfigurationClient({
|
||||
Postgres:
|
||||
{' '}
|
||||
<AdminLink
|
||||
// eslint-disable-next-line max-len
|
||||
href="https://vercel.com/docs/postgres#create-a-postgres-database"
|
||||
href="https://vercel.com/docs/postgres"
|
||||
externalIcon
|
||||
>
|
||||
create database
|
||||
@ -313,20 +312,19 @@ export default function AdminAppConfigurationClient({
|
||||
connection: { provider: 'Storage', error: storageError},
|
||||
})}
|
||||
<div>
|
||||
{hasVercelBlobStorage
|
||||
{hasVercelBlobStorage && false
|
||||
? renderSubStatus('checked', 'Vercel Blob: connected')
|
||||
: renderSubStatus('optional', <>
|
||||
{labelForStorage('vercel-blob')}:
|
||||
{' '}
|
||||
<AdminLink
|
||||
// eslint-disable-next-line max-len
|
||||
href="https://vercel.com/docs/storage/vercel-blob/quickstart#create-a-blob-store"
|
||||
href="https://vercel.com/docs/vercel-blob"
|
||||
externalIcon
|
||||
>
|
||||
create store
|
||||
</AdminLink>
|
||||
{' '}
|
||||
and connect to project
|
||||
{' '}
|
||||
(configured as public) and connect to project
|
||||
</>,
|
||||
)}
|
||||
{hasCloudflareR2Storage
|
||||
|
||||
Loading…
Reference in New Issue
Block a user