- Node.js v18.x
- Yarn
- Vercel CLI:
yarn global add vercel
By default, this will use the content at the tip of the main
branch:
- Clone the
meilisearch.com
repository:git clone git@github.com:meilisearch/meilisearch.com.git
- Move into the local copy of the cloned repository:
cd meilisearch.com
- Check you are using Node.js v18.x
- Install dependencies:
yarn install
- Link Vercel
vercel link
- Follow instructions to link a Vercel account with access to Meilisearch team
- Choose existing project when requested
- project name:
website
- Fetch config files:
vercel env pull
- Run local server:
yarn dev
and point web browser tolocalhost:3000/docs
- Open
/src/lib/docs/constants.ts
- Search for
BRANCH = 'main'
- Change
main
to the specific remote branch you're targeting - Relaunch local server and point web browser to
localhost:3000/docs