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.

PREREQUISITES: Before you setup the Continuous delivery process, perform the following:
  • If you have any development in progress on your Development environment, make sure you complete it.
  • Create and publish all the required content.
  • Upgrade your project to Sitefinity CMS 9.2 or above.
    For more information, see Upgrade.

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:

  1. Make sure Read-only mode of configurations is turned off.
  2. Make sure the Staging & Syncing module is deactivated.
  3. Set Deployment mode to Source.
  4. Turn on Auto-storage mode of configurations.
  5. Restart the application.

RESULT: Your Development environment is setup for Continuous delivery and your project is ready for testing.

  1. Deploy your project and its database from your Development to your Test environment.
  2. Open your deployed project and make the following settings:
    1. Set Deployment mode to Target.
    2. Turn on Read-only mode of configurations.
  3. Proceed with testing.
    For more information, see Best practices: Testing.
  4. If any of the tests fail, perform the following:
    1. Go back to your Development environment to fix the problem.
    2. 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.
    3. Run the project on your Test environment.
      The fixes will be automatically imported. 
    4. Return to Step 3.
  5. 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.

  1. Deploy your project and its database from your Test environment to your Live environment.
    For more information on deployment options and procedures, see Deployment.
  2. Open your Live environment and run the project.

RESULT: Your project is Live. Your environments are continuously integrated and ready for Continuous delivery.

Was this article helpful?