This is a Next.js project bootstrapped with create-next-app
.
First, in root directory, copy 'env.example' to 'env.local' and populate fields with given env variables
Run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
To run Sanity CMS locally, open a new tab and run:
yarn sanity
Open http://localhost:3333 to see the CMS.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The app is hosted on Netlify and auto-deploys from the main branch. Preview deploys are enabled for other branches.
To deploy changes to Sanity, do
cd admin && sanity deploy
You may need to login via the Sanity CLI if you haven't already. To do this, run:
sanity login