This sample blog is an excellent starting point to explore Astro and Prismic. Get it up and running in minutes. Modify and adapt it to your liking; it's all yours!
To start a new project using this starter, run the following commands in your terminal:
npx degit a-trost/astro-prismic-blog-starter your-project-name
cd your-project-name
npx @slicemachine/init
The commands will do the following:
- Start a new Astro project using this starter.
- Ask you to log in to Prismic or create an account.
- Create a new Prismic content repository with sample content.
When you're ready to start your project, run the following command to launch Astro:
npm run dev
And this command to run SliceMachine and edit your data models.
npm run slicemachine