Computer

Create site

Create a site (also known as an app, or a website).

Parameters#

namestringrequired

name of the project, e.g. my-app (lowercase, no spaces)

variantstringdefault: blank

template variant to use (blank, blog, event, slides, data, marketing). Default is blank.

parent_path_partsstring[]default: []

Workspace-relative (/home/workspace/...parts/name) path segments where the project will be created, e.g. ["projects"] or empty for root of workspace

forcebooleandefault: false

Whether to overwrite an existing directory with the same name. Default False.