Environments
Environments are a way to separate feature flag configuration and management within the same workspace.
Let’s say your app has development, staging and production environment. You can create a development, staging and production environment in the Fecusio workspace, and integrate your app environments with the corresponding workspace environments in Fecusio. This way you can play and experiment in different environments without affecting your app production environment. Your team members can even have their own environment created in the workspace to avoid interrupting other colleagues while developing a feature.
Protected Environments
Section titled “Protected Environments”When you mark an environment as “protected”, it cannot be deleted from within the workspace. It is a good practice to protect your major environments, especially production.
See Editing Workspace on how to protect an environment.
Managing Environments
Section titled “Managing Environments”Environments are managed within a workspace. Any workspace team member can manage environments. When you create a workspace, it will by default have two environments called “Development” and “Production”.
Creating Environment
Section titled “Creating Environment”Navigate to the Environments page from the workspace Settings page once in the workspace context. Click on the “Create environment” button at the top. An aside will open asking you to provide an environment name (required) and color for organizational purposes. Once ready, click on “Create environment” in the aside to create it.
Editing Environment
Section titled “Editing Environment”Navigate to the Environments page from the workspace Settings page once in the workspace context. Click on the name of the environment you want to edit. An aside will open where you can change the environment name and color. Once satisfied with the changes, click “Save environment” in the aside.
Deleting Environment
Section titled “Deleting Environment”Navigate to the Environments page from the workspace Settings page once in the workspace context. Click on the name of the unprotected environment you want to delete. Click on the “Delete” button in the aside to delete it.
Switching Environments
Section titled “Switching Environments”There are two ways to switch between environments:
- When in workspace context, there is environment indicator at the top of the sidebar menu. Clicking on it will open a submenu where you can switch to a different environment by clicking on it;
- Navigate to Environments page from the workspace Settings page once in the workspace context and click on “Switch to environment” button in the environments list, for the environment you want to switch to.