Command
terminus site:create
Description
Creates a new site.
Example Usage
terminus site:create --org ORG --region REGION -- <site_name> <label> <upstream_id>
site:create <site> <label> <upstream>
Creates a new site named <site>, human-readably labeled <label>, using code from <upstream>.
site:create <site> <label> <upstream> --org=<org>
Creates a new site named <site>, human-readably labeled <label>, using code from <upstream>, associated with <organization>.
Options
Option | Description |
---|---|
--ansi | Force (or disable --no-ansi) ANSI output |
--define | Define a configuration item value. |
--help | Display help for the given command. When no command is given display help for the <info>list</info> command |
--no-ansi | Negate the "--ansi" option |
--no-interaction | Do not ask any interactive question |
--org | Organization name, label, or ID |
--quiet | Do not output any message |
--region | Specify the service region where the site should be created. See documentation for valid regions. |
--verbose | Increase the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv) |
--version | Display this application version |
--yes | Answer all confirmations with "yes" |
Available Region Codes
Name | Code |
---|---|
Australia | au |
Canada | ca |
European Union | eu |
United States | us |
For example (replace my-eu-site-name
, My EU Site Name
, WordPress
, My Workspace Name
, and the eu
region accordingly):
terminus site:create my-eu-site-name "My EU Site Name" "WordPress" --org "My Workspace Name" --region eu
[notice] Creating a new site...
[notice] Deploying CMS...
[notice] Deployed CMS