Deploy on macOS¶
Use this guide to deploy and configure precompiled Virto Commerce Platform V3.
- Download .NET Core SDK.
- Install the LTS version, it will include components for build and launch runtime application.
To install LibSass:
- Download the nuget package LibSass Host Native for for OS X (x64).
Unzip the package.
Move the library to dotnet location path. You can find the location of dotnet using CLI dotnet --info
Download precomplied binaries¶
Open the Releases section of the Virto Commerce Platform in GitHub.
Find VirtoCommerce.Platform.3.x.x.zip file. This file contains the prebuilt site and can be executed without additional compilation. The source code is not included.
Download the binaries using the following command:
Unpack the downloaded file to the local directory /vc-platform-3 using the following command:
Now you have the directory with the precompiled files of the Virto Commerce Platform.
To set up the Platform:
Configure application strings¶
To configure application strings:
- Open the appsettings.json file in a text editor.
In the ConnectionStrings section, modify the VirtoCommerce node as follows:
Make sure the user has permission to create new databases.
To display images, specify the public url for assets by updating
Assets:FileSystem:PublicUrlin the Assets section:
To configure CMS content storage, specify the public url for content for content by updating
Content:FileSystem:PublicUrlin the Content section:
Save the appsettings.json file to apply the configurations.
Run the Platform by CLI "dotnet"¶
To run the Platform by CLI:
Install and trust HTTPS certificate. Run steps described in this article to trust the .NET Core SDK HTTPS development certificate on Linux.
Read more about enforcing HTTPS in ASP.NET Core.
Run the Platform using the following command:
The output in the console will say something like:
Perform initial sign-in¶
To access the Platform and perform initial sign-in:
- Open your browser and type
If you encounter the Your connection is not private error, click Advanced → Proceed to.... This option allows you to proceed to the website even though the browser has detected an issue with the SSL certificate.
For additional details on addressing this error and using a self-signed certificate, refer to Trust the ASP.NET Core HTTPS development certificate.
Upon the first request, the application will create and initialize the database.
Once completed, you will be redirected to the sign-in page. Use the following credentials to sign in:
Your Platform is ready to go.