-
Notifications
You must be signed in to change notification settings - Fork 0
/
Website_Installation_instructions_en.txt
59 lines (44 loc) · 2.65 KB
/
Website_Installation_instructions_en.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
In the local development of the project or set up the site, please set according to the following items.
1. Create a database
1-1. Create a new database in your SQL Server 2012 (or newer) with the name "SampleEFCMS" (or whatever you like)
1-2. Use SQL Server Management Studio to open the following files and connect to the previously created database to execute the scripts
SqlScripts\01.EmployeeAuthority_CreateTable.sql
SqlScripts\02.EmployeeAuthority_CreateSP.sql
SqlScripts\03.ArticlePublisher_CreateTable.sql
SqlScripts\04.ArticlePublisher_CreateSP.sql
SqlScripts\05.SQLInjectionFilter_CreateSP.sql
2. In IIS7 (or newer versions) set the site according to the following items:
2-1. Please add the following text in the content of C:\Windows\System32\drivers\etc\hosts
127.0.0.1 SampleEFCMS.dev.com
2-2. Add website: (This is SampleEFCMS front-stage website)
. Site name [SampleEFCMS]
. Application pool [.NET 4.0 Integrated]
. Physical path choose this project's folder [Source\Root]
. Host name [SampleEFCMS.dev.com]
. OK
2-3. Add "Application" under the website: (This is the SampleEFCMS back-stage website)
. Alias [Management]
. Application pool [.NET 4.0 Integrated]
. Physical path choose this project's folder [Source\Management]
. OK
2-4. Add "Virtual Directory" under the website: (This is a shared image area for SampleEFCMS front-stage and back-stage websites)
. Alias [images]
. Physical path choose this project's folder [Source\Management\images]
. OK
2-5. Add "Virtual Directory" under the website: (This is the uploaded file directory of CKeditor, use in back-stage websites)
. Alias [UserFiles]
. Physical path choose this project's folder [Source\Management\UserFiles]
. OK
2-6. Add "Virtual Directory" under the website: (This is a shared attachment area for SampleEFCMS front-stage and back-stage websites)
. Alias [Attachments]
. Physical path choose this project's folder [Source\Management\Attachments]
. OK
2-7. Go to the directory "Source\Root" rename "Web.config_Dev.txt" to "Web.config"
Change the value of "connectionStrings/CmsContext" to your database information in the Web.config.
2-8. Go to the directory "Source\Management" rename "Web.config_Dev.txt" to "Web.config"
Change the value of "connectionStrings/CmsContext" to your database information in the Web.config.
So far, the website has been set up.
Front-stage website URL: http://SampleEFCMS.dev.com/Index.aspx
Back-stage website URL : http://SampleEFCMS.dev.com/Management/Login.aspx
Default admin account/password: admin / admin
3. Use Visual Studio to open "Source\SampleEFCMS.sln" (this solution file is generated by Visual Studio 2012.)(Visual Studio 2015 can open this file without any upgrade.)