Skip to content

Latest commit

 

History

History
88 lines (73 loc) · 5.67 KB

deploy-from-precompiled-binaries-azure.md

File metadata and controls

88 lines (73 loc) · 5.67 KB

Deploy to Azure

Use this guide to deploy to Azure and configure Virto Commerce Platform.

!!! note You can install modules and sample data later from Virto Commerce Admin UI.

Virto Commerce Team creates default ARM template azuredeploy.json to simplify deployment of Virto Commerce Platform to Azure. You can use this template as base for your custom solution. Read Azure Resource Manager documentation.

The following resources will be created during deployment:

  • Azure Storage - as Primary blob storage for CMS and Assets.
  • SQL Azure - database.
  • Website - Virto Commerce Platform.

Deploy to Azure from GitHub

This sections describes how to use the Deploy to Azure button to deploy Virto Commerce Platform from a GitHub repository.

!!! note When a user clicks on the Deploy to Azure button, a “referrer” header is sent to azuredeploy.net which contains the location of the Git repository to deploy from. This scenario is good if you want to install Virto Commerce platform from the sources.

!!! tip * Deploy problem can be related of using “Free” plan, change to Basic or Standard. Read More. * Your login name must not contain a SQL Identifier or a typical system name (like admin, administrator, sa, root, dbmanager, loginmanager, etc.) or a built-in database user or role (like dbo, guest, public, etc.) * Your password must be at least 8 characters in length. * Your password must contain characters from three of the following categories – English uppercase letters, English lowercase letters, numbers (0-9), and non-alphanumeric characters (!, $, #, %, etc.).

  1. Open GitHub repository https://github.com/VirtoCommerce/vc-platform and select Deploy to Azure button.
  2. It opens Deploy to Azure wizard and takes control over how Virto Commerce Application gets deployed to the Azure cloud. Deploy to azure
  3. Select Subscription and Fill required parameters.
  4. Select Next. Deploy to azure
  5. Select Deploy and wait. Deploy to azure
  6. It can take time to crate resources, download and compile the source from GitHub. Deploy to azure
  7. Open url in your browser. Deploy to azure
  8. The application will create and initialize database on the first request. After that you should see the sign in page. Use the following credentials:
    • Login: admin
    • Password: store Deploy to azure
  9. Install Commerce modules and restart the platform. Deploy to azure
  10. Install sample data if required.

Deploy to Azure from Custom Template

This sections describes how to deploy Virto Commerce Platform from Custom ARM Template.

  1. Sign-in to Azure Portal.
  2. Select Template deployment to deploy using custom templates. Deploy to azure - custom template
  3. Select Create. Deploy to azure - custom template
  4. Select Build your own template in the editor. Deploy to azure - custom template
  5. Load template file from azuredeploy.json.
  6. Select Save. Deploy to azure - custom template
  7. Select Subscription and Fill required parameters.
  8. Select Purchase. Deploy to azure - custom template
  9. Wait until the deployment has been completed.
  10. Navigate to the Releases section of Virto Commerce Platform in GitHub.
  11. You will find VirtoCommerce.Platform.3.x.x.zip file. In this file the site has already been built and can be run without additional compilation. The source code is not included.
  12. Select Application Services > Application Service > Advanced Tools and Open Kudu console.
  13. Unpack release to D:\home\site\wwwroot\platform folder.
    Deploy to azure - custom template
  14. Open url in your browser.
  15. The application will create and initialize database on the first request. After that you should see the sign in page. Use the following credentials:
    • Login: admin
    • Password: store
  16. Install Commerce modules and restart the platform.
  17. Install sample data if required.

Deploy to Azure via PowerShell

Read Azure Resource Manager documentation to deploy Virto Commerce Platform from Custom Template azuredeploy.json to Azure via PowerShell.

Deploy to Azure via Azure CLI

Read Azure Resource Manager documentation to deploy Virto Commerce Platform from Custom Template azuredeploy.json to Azure via CLI.