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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?