Skip to content

mikeyrayvon/nunodamaso

Repository files navigation

Discipline Starter for Next.js Website with Prismic CMS

Next.js example blog project with content managed in Prismic.

Based on the Prismic Next.js Blog Site Example

Prismic project guide

Installation Flow

Clone this repo

git clone https://github.com/mikeyrayvon/discipline-nextjs-prismic.git my-project
cd my-project

Create Prismic repo

Create a new repo in Prismic and create Custom Types with the JSON from the custom_types directory.

Make .env

Duplicate .env.example as .env.local and update the API_ENDPOINT value with the endpoint from your Prismic repo.

Install node packages

yarn

Run the project

yarn dev

Then you can access it at http://localhost:3000.

Resources