Sunday, February 1, 2015

Configuring/Installation NopCommerce 3.50 (Source Code)

Configuring/Installation NopCommerce 3.50 (Source Code) for Customization

nopCommerce is an open source e-commerce solution that is ASP.NET MVC 5.0 based with a MS SQL 2008 (or higher) backend database. It is available under the nopCommerce Public License V3 and officially launched in October 2008 for small to medium-sized businesses.

Software/framework requirement 

  •  Visual Studio 2013
  •  Sql Server 2012 r2 or 2008r2
  • .Net Framework 4.5.1 

(1). Configuration on machine for customization.
Download nopCommerce_3.50 (Source code version) from http://www.nopcommerce.com/downloads.aspx


Nopcommerce website ask for login, register on nopcommerce, After login click on 
After login it, site will redirect to codeplex for download
Provide the destination folder to download



will download .rar file , extract it wherever you required.





Extracted nopcommerce project source code. Open it in visual studio (will require visual studio 2013)


Create virtual directory for installation.
Build project
Run Project.

It will ask for installation of nopcommerce on your machine. Provide requested inputs. And click "Install".
 Now run application nopcommerce will on from home page.

>> Location of connection string setting file (\Presentation\Nop.Web\App_Data\Setting.txt)

This is the installation of source code.
You have source code configured and database restored. To move on production server, you can publish this source code and restore that database backup .And set connection string in setting.txt file.

(2). Publishing code for production action...(for hosting project on production server)
  the simple publishing of nopcommerce project causes , developer will not able to run site on production

  Steps :-
      >> take full back of database.
      >> restored that backup to production sql server.
      >> publish web on click nop.web on a target folder.
      >> create a folder "Administrator" target publish folder.
      >> publish nop.admin in administrator folder.
      >> re-built project in visual studio & copy all file from bin folder to target published folder.
      >> copy App_data folder's file from source code copy to published site copy.
      >> change connection string as per production in \App_Data\Setting.txt
      >> nop move publish code to production server as per you virtual directory ,& set .dotnetframework 4.0 (install .net framework 4.5.1 , but iis show 4.5.1 in 4.0 like 3.5 in 2.0)


-
Sunit
technocrats@sunitkanyan.in

No comments:

Post a Comment