Cloud Container

Environment and setup details for Netlify Create cloud project containers.

A container runs Netlify Create's editing application, but also handles staying in sync with your remote repository and running your site (in development).

Cloud Architecture

The following diagram shows how the various pieces of the visual editor work together in a cloud project.

Running Site Preview in a Netlify Create Cloud Project
Running Site Preview in a Netlify Create Cloud Project

Container Setup

The container goes through a specific lifecycle when it is created or restarted. This is the process:

  1. Clone the Git repository.
  2. Run postGitCloneCommand, if defined.
  3. Run preInstallCommand, if defined.
  4. Run installCommand. The default is either yarn or npm install if the configuration property is undefined.
  5. If the configured runnable directory (set in the project settings) is not the same as the project's root directory, then also install dependencies in the runnable directory.
  6. Run postInstallCommand, if defined.
  7. Run devCommand, if defined. Otherwise, run the default command based on ssgName.

Content Update Flow

The following diagram shows how content is updated in a cloud project.

Editing Content in a Netlify Create Cloud Project
Editing Content in a Netlify Create Cloud Project

Self-Hosted Container

Please contact us for details about on-premise and self hosting.