Skip to main content

Environments

Environments are like Content branches. They are different repositories of content to keep the content of different environments separated. They can be created from the React Bricks Dashboard.

Environments can be useful for example when:

  • You want a development environment where developers can play with the content while creating new bricks and sometimes you want to sync back the main environment content to the development one.
  • You want to work on a v2 of your website, while still maintaining v1. When you are ready you can push the content to the main branch.
  • You want to keep a backup of an older version of the website content that could be useful in the future (for example, create a new branch for the Black Friday, and then go back easilty to the "normal" content).

Each environment has its own content, Users, Build hooks, Languages, Change history.

How to use environments

  1. Create and manage environments from the Dashboard: see Environments Management
  2. Use the environment property on the React Bricks configuration to select the working environment for a project.