Creating a Development workspace
Workspaces in development mode can link, publish and install apps. These workspaces enjoy greater development freedom, since they do not handle traffic from any user except yourself.
Because development workspace do not have any level of user traffic, you should use them whenever you want to perform changes in your code. But notice: they cannot be promoted to Master nor used for A/B testing - only Production workspaces can.
Step by step
- Log into the desired VTEX account;
- Run the following command:
vtex use {workspaceName}
Once you are sure of the changes performed in the Development workspace, it is time to create a Production workspace in order to test your changes with some user traffic.
But be aware: the Production workspace will not inherit the changes performed in the Development workspace. All changes performed in the Development workspace will need to be replicated in the new Production workspace.
Once created, the Developer workspace has no expiration date, which means that settings will remain stored in it unless there is any conflict with the configurations of the store’s Master workspace.
In these cases, the Master settings will always prevail over the settings of the other account's workspaces, including the Developer one in which you are working, since the account's workspaces work as a copy of the version available to the end user.
vtex workspace delete {workspaceName}
.
Updated about 5 hours ago