diff --git a/README.md b/README.md index acc277e0..0289c1c4 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/admin/config/AdminAppConfigurationClient.tsx b/src/admin/config/AdminAppConfigurationClient.tsx index b631e458..23b9a5d4 100644 --- a/src/admin/config/AdminAppConfigurationClient.tsx +++ b/src/admin/config/AdminAppConfigurationClient.tsx @@ -286,8 +286,7 @@ export default function AdminAppConfigurationClient({ Postgres: {' '} create database @@ -313,20 +312,19 @@ export default function AdminAppConfigurationClient({ connection: { provider: 'Storage', error: storageError}, })}
- {hasVercelBlobStorage + {hasVercelBlobStorage && false ? renderSubStatus('checked', 'Vercel Blob: connected') : renderSubStatus('optional', <> {labelForStorage('vercel-blob')}: {' '} create store - {' '} - and connect to project + {' '} + (configured as public) and connect to project , )} {hasCloudflareR2Storage