NopCommerce Platform introduce Part 1
quick start
Install sql server 2016 Express edition on windows 10
Install .Net Sdk .net 7.0 on windows 10
Install nopcommerce 4.6x on windows 10
config database connection string
Table of Contents
Before you install nopCommerce
Install sql server 2016 Express edition on windows 10
本地 SQL Server 下载地址:https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads?rtc=1
SQLServer2016-SSEI-Expr.exe
F:\Third2\sqlserver
Install SQL Server 2016 Management Studio on windows 10
Download SQL Server Management Studio
SSMS-Setup-ENU.exe
https://github.com/nopSolutions/nopCommerce
20240415
https://github.com/nopSolutions/nopCommerce/releases/download/release-4.60.6/nopCommerce_4.60.6_Source.zip
Install nopcommerce
step 1.copy nopCommerce_4.80.6_Source\*
step 2.docker run
delete ./app_data/appsettings.json
delete \DataProtectionKeys\
step 3.create dabase named with nopcommercetest
step 4.
从SQL Server Management Studio获取sql server 实列名称
Backup & Restore
source
C:\Program Files\Microsoft SQL Server\MSSQL13.SQLEXPRESS\MSSQL\DATA
F:\developer_ms\nopCommerce_4.50.0_Source\src\Presentation\Nop.Web\wwwroot\db_backups\database_2023-01-25-05-29-18_7209013461.bak
target
F:\developer_msly\msly20240516
copy favicon.ico
src\Presentation\Nop.Web\wwwroot
copy logo
http://localhost:61119/Themes/DefaultClean/Content/images/logo.png
src\Presentation\Nop.Web\Themes\DefaultClean\Content\images\logo.png
copy images
http://localhost:61119/images/thumbs/0003231_aqara-human-presence-sensor-fp1-cn-rtczcgq11lm_415.jpeg not found
copy \src\Presentation\Nop.Web\wwwroot\images\*
SQL Server 索引重新生成 索引重建
Windows 10->Start->SQL Server Tool 18->SQL Server Management Studio
SQL Server Management Studio 15.0.18390.0
SQL Server Management Objects (SMO) 16.100.46521.71
Microsoft Analysis Services Client Tools 15.0.19714.0
Microsoft Data Access Components (MDAC) 10.0.19041.4291
Microsoft MSXML 3.0 6.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 10.0.19045
https://zhuanlan.zhihu.com/p/590529089
Long description short version:
Preparation: windows server with full updates
install:
IIS - with default settings
.Net5 runtime
SQL Server Management Studio - on web site server (to have conection with Dabase server)
Setup:
- add a new website to the IIS
- create an empty databases via SQL SMS
- unarch nopC zip file in a directory, enter inside, Run with Admin priviledges to the nopWeb.exe file
- wait till create a local port 5000
- open http://localhost:5000
- continue setup from here and choose install
> now we have Site setup in right directory but not started by IIS
IIS:
how do we "connect" the websites located in right place with IIS in such a way than when we browse to swe right page ? Super simple question dear.
my email: [email protected]
useful links
https://www.cnblogs.com/edisonchou/p/nop_commerce_study_part_1.html