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.
Container Setup
The container goes through a specific lifecycle when it is created or restarted. This is the process:
- Clone the Git repository.
- Run
postGitCloneCommand
, if defined. - Run
preInstallCommand
, if defined. - Run
installCommand
. The default is eitheryarn
ornpm install
if the configuration property is undefined. - 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.
- Run
postInstallCommand
, if defined. - Run
devCommand
, if defined. Otherwise, run the default command based onssgName
.
Content Update Flow
The following diagram shows how content is updated in a cloud project.
Self-Hosted Container
Please contact us for details about on-premise and self hosting.