mdc init[ialize] [options]
initialize command will initialize the current working directory as an DSim Cloud workspace Origin on the local side. A
.mdc folder will be created within the current working directory which will contain metadata within, identifying this directory as the local workspace origin.
The initialize command will also provision a remote compute in the cloud for use by this workspace. The configuration of the remote compute (memory, CPUs) is fixed and details can be found in User Guide: DSim Cloud CLI Tool default remote cloud compute configuration. The process of initializing a remote compute in the cloud can take up to 4 minutes to complete. During initialization you will see informative messages printed to the local terminal indicating the steps being undertaken during initialization.
initialize in a directory without write permission will fail with an error printed to the screen.
If a previous
.mdc directory exists in your Origin directory (because of a previous destroy command) it is used to determine defaults for the newly created workspace.
When initializing a new workspace, all files within the local origin directory (other than those specified in the
.mdc/sync_ignore file) will be automatically synchronized to the remote workspace. For more information on the file synchronization process see the DSim Cloud File Synchronization article.
For more information on workspaces, see the Understanding Workspaces article.
NOTE: Short form of this command
mdc init supported on DSim Cloud 0.2.0 and above.