Introduction
These guides serve as a reference point for deploying our themes to various platforms. While the themes are already set up for Netlify deployment, we’ll also cover the other popular platforms Vercel and Cloudflare Pages.
Tip
Themes are already set up for Netlify deployment, so this is the easiest way to get started. If you wish to use another platform there are a few small changes you’ll need to make to the astro.config.mjs
file. We’ll cover these changes in the platform-specific guides.
Initial Setup
- To get started, first install all necessary packages with
npm install
, then run an initial build to make sure the setup worksnpm run build
. - Next, you’ll want to configure your site i18n setup (one language, or multiple). Follow instructions in the i18n documentation.
- Now you can setup the site to your liking!
- Finally, see below for deploying to your provider of choice.
Deployment
My recommended way to deploy stites to Netlify, Vercel, and Cloudflare Pages is to use the GitHub repository. This way, you can easily update your site by pushing changes to your repository. So first, you need to create a GitHub repository and upload the code to it.