Skip to content

JonathanDavisDev/cms-saas-vercel-demo

 
 

Repository files navigation

Optimizely CMS Demo Site

License

Introduction

This repository contains the packages and applications that form the Optimizely CMS Demo Site.

Getting started

Make sure you're good to go, by:

  • Requesting an Optimizely CMS instance using Sign-up for the program
  • Ensuring you have (at least) a hobby plan account at Vercel, or are comfortable creating one

After signing up for the beta instance and provisioning of the instance, you'll get an e-mail with the keys and instructions to activate your account.

Follow these instructions to configure the CMS

After you've completed the CMS configuration instructions and collected the needed information, click the "Deploy to vercel" button below, to deploy this site to your Vercel Account

Deploy with Vercel

Environment variable Instruction
DXP_URL The URL where the Optimizely CMS can be reached by the build process; for example: https://example.cms.optimizely.com/
OPTIMIZELY_CONTENTGRAPH_SECRET The Content Graph Secret can be made visible on the CMS Dashboard, within the "Render Content" section.
OPTIMIZELY_CONTENTGRAPH_APP_KEY The Content Graph App key, which is shown on the CMS Dashboard, within the "Render Content" section.
OPTIMIZELY_CONTENTGRAPH_SINGLE_KEY The Content Graph Single key , which is shown on the CMS Dashboard, within the "Render Content" section.

When the deployment has succeeded, the following steps are needed to enable "On Page Editing" or "In Context Editing".

Enable on-page / in context editing

Additional configuration options

Please refer to the Supported environment variables document for all supported configuration options for the frontend. The steps above only outine the mimimum required configuration to obtain a working demo site. Please note: every configuration change to the environment variables requires a new deployment to become active.

Topics

About

Complete demo site for Optimizely CMS, fully taking all content from Optimizely Graph

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.6%
  • JavaScript 3.2%
  • SCSS 0.2%