An 11ty website showing presentation content from Sitecore Experience Edge and managed in Content Hub ONE.
This project requires:
- Node.js with minimum version 18.
- A Sitecore Experience Edge tenant populated from Content Hub ONE, using the content from https://github.com/adeneys/EdgeContentPresenter/tree/feature/ch1/chone.
-
Restore the NPM packages.
npm install
-
Create a
.envfile in the root of the repository and set theEDGE_TOKENvariable to the X-GQL-Token for the Edge tenant being used. -
Optional. If using an Edge environment other than production, set the GraphQL endpoint in the
EDGE_URIvariable in the.envfile. -
Run the
buildcommand to generate the static sitenpm run build