08/31/2017 12:00 AM Deploy Storefront from precompiled binaries
Virto Commerce

Deploy Storefront from precompiled binaries

See all


Use this guide to deploy and configure precompiled Virto Commerce Storefront.


Downloading the precomplied binaries:

Navigate to the Releases section of Virto Commerce Storefront in GitHub.

You will find VirtoCommerce.Storefront.2.x.x.zip file. In this file the site has already been built and can be run without additional compilation. It does not includes all the source code.

Unpack this zip to a local directory C:\vc-storefront. After that you will have the directory with storefront precompiled files.

Upload files to the web server

Upload all data from C:\vc-storefront folder to the web server in IIS application root directory C:\inetpub\wwwroot.


Configure Web API base URL

  • Open the Web.config in a text editor.
  • In the connectionStrings section find the add node named VirtoCommerce BaseUrl. Change its connectionString attribute value to the URL of your VirtoCommerce Platform application.

Configure Web API credentials

  • Open the Web.config in a text editor.
  • In the appSettings section find the add nodes named vc-public-ApiAppId and vc-public-ApiSecretKey and change its values to values generated in VirtoCommerce Platform application.

Configure CMS content storage

  • Open the Web.config in a text editor.
  • In the connectionStrings section find the add node named ContentConnectionString. Change its connectionString attribute value to the path of folder specified in CmsContentConnectionString connection string in your VirtoCommerce Platform installation (~/App_Data/cms-content by default, i.e. you must use provider=LocalStorage;rootPath=C:\inetpub\wwwroot\admin\App_Data\cms-content connection string in this case).

Configure permissions for App_Data folder

Open properties for C:\inetpub\wwwroot\App_Data folder and give permission Modify to IIS_IUSRS user group:

Setting permissions for App_Data folder

Configure IIS

  • Open the IIS Manager and create a new website or new application inside an existing website.
  • In the Physical path field enter the full path to the C:\inetpub\wwwroot folder: Website configuration in IIS
  • Select application pool which uses .NET CLR Version 4.0 and Integrated pipeline mode: Select an application pool

Open the VirtoCommerce Storefront application in the browser.