Developing with nopCommerce using VSCode and Linux

Pre-requisites

To get started, you’ll need to set up:

  • VSCode with the C# and vscode-solution-explorer extensions installed
  • SQL Server

Download and Build nopCommerce Source Code

To get started, get a copy of the nopCommerce source code at their Github page.

After downloading the source code, open the /src folder using VSCode.

For cleaning and building the project, you have two choices:

  1. Use dotnet to run clean and build while in the src/ directory.
  2. Using the solution viewer plugin, you can clean and build the project:

After cleaning and building, you can run using either:

  1. dotnet run in the src/Presentation/Nop.Web directory.
  2. Using the VSCode solution explorer.

Once started running, you’ll be able to access nopCommerce below:

With this, you are able to run locally and perform all tasks related to administering nopCommerce, including running the installation and anything else.

Leave a Reply

Your email address will not be published. Required fields are marked *