This is the repo for my portfolio/landing page at https://richard.pastenes.dev.
The site is built with Gatsby using the Gatsby minimal starter, styled with Tailwind CSS and the data sourced from Sanity.io.
The birds animation is done with Vanta.js.
- Node.js (v18+)
- npm
-
Install dependencies:
npm install
-
Start the Gatsby development server:
npm run develop
-
Start Storybook (optional):
npm run storybook
The content is managed through Sanity CMS. To run the Sanity Studio locally:
-
Navigate to the CMS directory:
cd cms
-
Install dependencies:
npm install
-
Start the Sanity Studio:
npm start
The Sanity Studio will be available at http://localhost:3333.
Main Project:
npm run develop
- Start Gatsby development servernpm run build
- Build the project for productionnpm run serve
- Serve the production buildnpm run clean
- Clean Gatsby cachenpm run storybook
- Start Storybook development servernpm run build-storybook
- Build Storybook for production
Sanity CMS:
npm start
- Start Sanity Studio development servernpm run build
- Build Sanity Studio for production