Skip to content

Deployment Overview

The Photography Portfolio template can be deployed to various hosting platforms. This guide provides an overview of deployment options and considerations.

Project Configuration

The project is configured with:

  • Server-Side Rendering (SSR) enabled
  • Netlify adapter by default
  • Sanity integration for content management
  • React and Tailwind CSS integrations
  • Remote image optimization support

Available Deployment Options

1. Netlify (Default)

The template comes pre-configured for Netlify deployment. This is the recommended option for most users as it requires minimal configuration.

Deploy to Netlify →

2. Vercel

Vercel is also fully supported but requires changing the adapter in the configuration.

Deploy to Vercel →

Environment Variables

Regardless of your chosen platform, you’ll need these environment variables:

Terminal window
SANITY_TOKEN=your_sanity_api_token
SANITY_PROJECT_ID=your_sanity_project_id
SANITY_DATASET= production
SANITY_STUDIO_PREVIEW_URL= #name of your website
PUBLIC_SANITY_VISUAL_EDITING_ENABLED=true
NOTIFICATION_EMAIL= #your email
RESEND_API_KEY=your_resend_api_key

Before You Deploy

✅ Ensure you have:

  • Completed the initial setup from the Getting Started guide
  • Node.js 18 or higher installed
  • Your project pushed to a Git repository
  • Your Sanity project ID and dataset name ready

Need Help?

If you run into any issues during deployment:

  • Check the platform-specific deployment guides
  • Review our troubleshooting section
  • Join our Telegram support group here.