Skip to content

Deploy Platform from precompiled binaries

Summary

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

Prerequisites

  • Windows Server 2008 R2 SP1 or later
  • Internet Information Services 7 or later
  • Microsoft .NET Framework 4.6.1
  • Microsoft SQL Server 2008 or later

Downloading the precomplied binaries

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

You will find VirtoCommerce.Platform.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 follow zip to local disk to path C:\vc-platform. In result you should get the folder which contains platform precompiled code.

Upload files to the web server

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

Setup

Configure connection strings

  • Open theВ Web.configВ file in a text editor.
  • In the connectionStrings section add or change add nodes:
  • VirtoCommerce: parameters forВ В SQL server database. Provided user should have permission to create new database.
    <add name="VirtoCommerce" connectionString="Data Source={SQL Server URL};Initial Catalog={Database name};Persist Security Info=True;User ID=virto;Password=virto;MultipleActiveResultSets=True;Connect Timeout=420" providerName="System.Data.SqlClient" />
    
  • SearchConnectionString: type of search engine and its parameters.
    <add name="SearchConnectionString" connectionString="provider={Provider name};{additional parameters};scope={common name (prefix) of all indexes}" />
    
  • AssetsConnectionString: type of asset storage and its parameters.
    <add name="AssetsConnectionString" connectionString="provider={Provider name};rootPath={Path to folder with assets};{additional parameters}" />
    
  • CmsContentConnectionString: type of CMS content storage and its parameters (provider=LocalStorage;rootPath=~/App_Data/cms-content connection string will be used by default)..
    <add name="CmsContentConnectionString" connectionString="provider={Provider name};rootPath={URL to CMS content location}" />
    

Configure permissions for App_Data folder

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

Setting App_Data folder security options

Configure IIS

  • Open theВ IIS ManagerВ and create a new website or new application named admin inside an existing website.
  • In theВ Physical pathВ field enter the full path to the platform site dataВ folder C:\inetpub\wwwroot\admin Website configuration in IIS
  • Select application pool which usesВ .NET CLR Version 4.0В andВ IntegratedВ pipeline mode: Select application pool for Virto Commerce Platform
  • Inside the admin application add the new virtual directory with aliasВ assetsВ and physical pathВ C:\inetpub\wwwroot\admin\App_Data\Assets. If there is no Assets directory inside App_Data, create it. Create a virtual folder for Virto Commerce Platform assets

First sign in

  • Open the Virto Commerce Platform application in the browser.
  • On the first request the application will create and initialize database. After that you should see the sign in page. Use the following credentials:
  • Login: admin
  • Password: store

Change administrator password

  • In the left menu select More в†’ Configuration в†’ Security.
  • Select Users
  • Select the admin user.
  • Click Change password.
  • Enter the new password twice and clickВ OK.

Change frontend password

  • In the left menu select More в†’ Configuration в†’ Security.
  • Select Users
  • Select the frontend user.
  • Click Change password.
  • Enter the new password twice and clickВ OK.

Change API credentials for storefront application

  • In the left menu select More в†’ Configuration в†’ Security.
  • SelectВ Users
  • Select the frontend user.
  • Click the API Keys widget.
  • Select the Frontend Hmac key
  • Click Generate, then OK, then Save.

Last update: June 18, 2020