Launch a Prismic starter project.
Choose a project
Explore the starter projects and choose one for yourself:
Choose the project you want to install and run the corresponding command in your terminal:
npx degit https://github.com/prismicio-community/nextjs-starter-prismic-blog nextjs-starter-prismic-blog cd nextjs-starter-prismic-blog npx @slicemachine/init
npx degit https://github.com/prismicio-community/nextjs-starter-prismic-multi-language nextjs-starter-prismic-multi-language cd nextjs-starter-prismic-multi-language npx @slicemachine/init
npx degit https://github.com/prismicio-community/nextjs-starter-prismic-multi-page nextjs-starter-prismic-multi-page cd nextjs-starter-prismic-multi-page npx @slicemachine/init
Run your project in development mode
To run your project in development mode, enter this command:
npm run dev
This command will run two servers:
- one with your new website in a development environment
- one with Slice Machine
Slice Machine is Prismic's desktop application for creating content models and syncing them to Prismic.
Open Slice Machine in your browser. In the Custom Types section, you will see the Custom Types models for your project. In the Slices section, you will see the Slice models for your project. These models are all already synced to Prismic.
Next, add content to your newly-created Prismic repository. Go to prismic.io/dashboard to see your new repository. If your project needs a menu or homepage, create those documents. If your project needs pages or blog posts, create at least one of each.
Was this article helpful?
Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.