## (Optional) Step-by-step Guide for vanilla Sitecore instance
## (Optional) Step-by-step Guide for vanilla Sitecore instance
1. Take a look at [this one](https://buoctrenmay.com/2020/08/10/sitecore-xp-10-initial-release-install-uninstall-by-using-sitecore-install-framework-version-2-3/) to setup a new **Sitecore 10.0.0** instance whose site name should be `cm.viethoang.local`
1. Take a look at [this one](https://buoctrenmay.com/2020/08/10/sitecore-xp-10-initial-release-install-uninstall-by-using-sitecore-install-framework-version-2-3/) to setup a new **Sitecore 10.0.0** instance whose site name should be `cm.viethoang.local`
...
@@ -65,12 +68,12 @@ The following applications/tools/utilities are required on your local machine. T
...
@@ -65,12 +68,12 @@ The following applications/tools/utilities are required on your local machine. T
1. Site bindings:
1. Site bindings:
+ bind the host names `hoavi.viethoang.local`, `demo.viethoang.local` to your Sitecore site (created in Step 1) via IIS
+ bind the host names `hoavi.viethoang.local`, `demo.viethoang.local` to your Sitecore site (created in Step 1) via IIS
1. rename **cake-config.json.example** to **cake-config.json** and then update the following ones:
1. rename **cake-config.json.example** to **cake-config.json** and then update the following ones:
+`WebsiteRoot` to **your Sitecore webroot folder** (Ex: "D:\\\\websites\\\\viethoang.local")
+`WebsiteRoot` to **your Sitecore webroot folder** (Ex: "D:\\\\websites\\\\cm.viethoang.local")
+`InstanceUrl` to **your Sitecore instance url** (Ex: "https://viethoang.local/")
+`InstanceUrl` to **your Sitecore instance url** (Ex: "https://cm.viethoang.local/")
+`ProjectFolder` to **your solution directory** (Ex: "D:\\\\my-simple-framework")
+`ProjectFolder` to **your solution directory** (Ex: "D:\\\\my-simple-framework")
+`BuildToolVersions` to **your MS Build version** (Ex: "VS2019")
+`BuildToolVersions` to **your MS Build version** (Ex: "VS2019")
1. rename **publishsettings.targets.example** to **publishsettings.targets** and then update the following one:
1. rename **publishsettings.targets.example** to **publishsettings.targets** and then update the following one:
+`<publishUrl>` to **your sitecore instance url** in case you don't use site name `viethoang.local` in step 1
+`<publishUrl>` to **your sitecore instance url** in case you don't use site name `cm.viethoang.local` in step 1
1. rename **Common.LocalSettings.config.example** to **Common.LocalSettings.config** and then update the following one:
1. rename **Common.LocalSettings.config.example** to **Common.LocalSettings.config** and then update the following one:
+`VietHoangSourceFolder` to **your solution directory** (Ex: "D:\\my-simple-framework")
+`VietHoangSourceFolder` to **your solution directory** (Ex: "D:\\my-simple-framework")
1. Enable URL Rewrite
1. Enable URL Rewrite
...
@@ -79,10 +82,9 @@ The following applications/tools/utilities are required on your local machine. T
...
@@ -79,10 +82,9 @@ The following applications/tools/utilities are required on your local machine. T
+ launch PowerShell as an administrator
+ launch PowerShell as an administrator
+ change directory to **your solution folder**
+ change directory to **your solution folder**
+ execute **.\build**
+ execute **.\build**
1. test your local development environment: open a browser, navigate to the following URLs and then you should see them without any errors: