Development environment
Current setup
Environments: You have a project that is deployed on a Development environment.
Desired setup
Environments: You want to setup in Continuous integration the following environments:
- Development environment
- One or more Test environments
- Live environment
SiteSync: You do not want to use SiteSync.
Migrate the configurations
Before you setup Continuous delivery, you must determine the storage mode of your configuration files.
For more information, see Determine the storage mode of configurations.
If your configurations are stored in the database, you must first migrate them.
For more information, see Migrate configurations.
In your Development environment, open your project and perform the following:
- Make sure Read-only mode of configurations is turned off.
-
Make sure the Staging & Syncing module is deactivated.
- Set Deployment mode to
Source
.
- Turn on Auto-storage mode of configurations.
- Restart the application.
RESULT: Your Development environment is setup for Continuous delivery and your project is ready for testing.
- Deploy your project and its database from your Development to your Test environment.
- Open your deployed project and make the following settings:
- Set Deployment mode to
Target
.
- Turn on Read-only mode of configurations.
- Proceed with testing.
For more information, see Best practices: Testing.
- If any of the tests fail, perform the following:
- Go back to your Development environment to fix the problem.
- From your Development environment, export the project for deployment and import the changes to your Test environment.
For more information, see Export and deploy code changes.
- Run the project on your Test environment.
The fixes will be automatically imported.
- Return to Step 3.
- Perform this procedure for every Test environment that you want to have.
RESULT: Your Test environment is setup for Continuous delivery. When all the tests pass, you have a fully tested and working project, which you can deploy to production.
Setup the Live environment
After all test have passed successfully, you can deploy your project and its database to Live.
- Deploy your project and its database from your Test environment to your Live environment.
For more information on deployment options and procedures, see Deployment.
- Open your Live environment and run the project.
RESULT: Your project is Live. Your environments are continuously integrated and ready for Continuous delivery.