Context

The context is a way to organize demo pages in CloudyCAM. You can think of context as categories.

TL;DR

yarn context

You can:

  1. GET Current Context
  2. SET Current Context
  3. DEFINE New Context
  4. CHANGE Demo's Context
  5. DELETE A Context

🦊 KNOW THIS

Whenever you start creating demo pages, you have to Set the current context. This is personal to you an you only. Other people running the same setup can set a different context.

To do anything with context you only need to run one command:

yarn context

Everything Else

  • Try adding a 16:9 image when defining a new contexts
  • Current context lives inside cloudycam-monorepo/api/currentContext.json
  • The currentContext.json file is ignored by Git and Zeit to allow multi-users using CloudyCAM at the same time