diff --git a/README.md b/README.md index f0bb914a..1d0048eb 100644 --- a/README.md +++ b/README.md @@ -29,19 +29,19 @@ Installation 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 3. Configure environment variables from project settings: -- `NEXT_PUBLIC_SITE_TITLE` (e.g., My Photos) -- `NEXT_PUBLIC_SITE_DOMAIN` (e.g., photos.domain.com) -- `NEXT_PUBLIC_SITE_DESCRIPTION` (optional—mainly used for OG meta) + - `NEXT_PUBLIC_SITE_TITLE` (e.g., My Photos) + - `NEXT_PUBLIC_SITE_DOMAIN` (e.g., photos.domain.com) + - `NEXT_PUBLIC_SITE_DESCRIPTION` (optional—mainly used for OG meta) ### 2. Setup Auth 1. [Generate auth secret](https://generate-secret.vercel.app/32) and add to environment variables: -- `AUTH_SECRET` + - `AUTH_SECRET` 2. Add admin user to environment variables: -- `ADMIN_EMAIL` -- `ADMIN_PASSWORD` + - `ADMIN_EMAIL` + - `ADMIN_PASSWORD` 3. Trigger redeploy -- Visit project on Vercel, navigate to "Deployments" tab, click ••• button next to most recent deployment, and select "Redeploy" + - Visit project on Vercel, navigate to "Deployments" tab, click ••• button next to most recent deployment, and select "Redeploy" ### 3. Upload your first photo 🎉 1. Visit `/admin`