This is a Next.js application with enhancers for multiple CMS systems.
pnpm install
Import the relevant CMS export into your CMS.
Import help: https://www.contentful.com/developers/docs/tutorials/cli/import-and-export/
Path:
data/contentful/contentful-export-siy7a16chotr-master-2023-01-10T14-52-24.json
Create an empty project at uniform.app
Create your .env file based on the example provided (.env.example) and remove the keys related to CMS platforms that you're not using.
pnpm run push
If you are not importing the Project Map definition from this project you need to setup your own Project Map. In your Uniform Project navigate to Settings > Canvas Settings > scroll down to the Project map section. Copy the ID and add it to UNIFORM_PROJECT_MAP_ID in the .env file.
Add a value to UNIFORM_PREVIEW_SECRET in the .env file. (Remember to save the file!)
In your Uniform Project navigate to Settings > Canvas Settings. If you just want to run everything with default settings, add
http://localhost:3210/api/preview?secret=previewsecret_from_env_file
to the Preview Configuration
Optionally add 1 or more relevant integrations to your Uniform project.
pnpm run dev
Open http://localhost:3210 with your browser to see the result.