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.
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.).
- Open GitHub repository https://github.com/VirtoCommerce/vc-platform and select button.
- It opens Deploy to Azure wizard and takes control over how Virto Commerce Application gets deployed to the Azure cloud.
- Select Subscription and Fill required parameters.
- Select Next.
- Select Deploy and wait.
- It can take time to crate resources, download and compile the source from GitHub.
- Open url in your browser.
- The application will create and initialize database on the first request. After that you should see the sign in page. Use the following credentials:
- Install Commerce modules and restart the platform.
- Install sample data if required.
This sections describes how to deploy Virto Commerce Platform from Custom ARM Template.
- Sign-in to Azure Portal.
- Select Template deployment to deploy using custom templates.
- Select Create.
- Select Build your own template in the editor.
- Load template file from azuredeploy.json.
- Select Save.
- Select Subscription and Fill required parameters.
- Select Purchase.
- Wait until the deployment has been completed.
- Navigate to the Releases section of Virto Commerce Platform in GitHub.
- 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.
- Select Application Services > Application Service > Advanced Tools and Open Kudu console.
- Unpack release to
D:\home\site\wwwroot\platform
folder.
- Open url in your browser.
- 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
- Install Commerce modules and restart the platform.
- Install sample data if required.
Read Azure Resource Manager documentation to deploy Virto Commerce Platform from Custom Template azuredeploy.json to Azure via PowerShell.
Read Azure Resource Manager documentation to deploy Virto Commerce Platform from Custom Template azuredeploy.json to Azure via CLI.