You can think about environment as a single, independent instance of your application. All data and users are separated.
Basic concept beneath environments is to make application production cycle more developer-friendly. By using test environment you can test new version of your application without danger of interrupting your clients and influencing their data.
There are two types of environments:
- Test environments - should be used for testing and debugging only
- Production environments - are official instances of your application
Test environments works identically as production ones, but they have limitations in number of requests and data.
Lets stop for a moment and think about environment and versions. Every environment always has one and only one version deployed on it. You can change this version - by clicking one of 'deploy' buttons or by directly clicking 'change version' link.
On the picture above:
- Deploy version of this test environment to production
- Deploy current version to this environment
- Manually change version of this instance (for advanced users)
The concept of environments in Mobeelizer allows you to have as many environments as you want. When you create a new application then one test and one production environment is being set. That's enough for most of use cases. But sometimes it's not enough.
To create more environments go to 'environments' section on 'Test' or 'Use'. There you can see list of all your test or production instances (depending on which step you are on). Using simple form you can create new instance - current version will be automatically deployed on it.
To switch between environments just hit 'choose' button on list view. Notice the change of instance name on left-side menu. Now you can manage users or versions of selected instance - to switch to another just hit 'chose' button on list view again.