Commit a0b338e3 authored by Viet Hoang's avatar Viet Hoang

update README.md and example files

parent a25c4b78
......@@ -57,6 +57,9 @@ The following applications/tools/utilities are required on your local machine. T
+ launch PowerShell as an administrator
+ change directory to **your Docker folder** (Ex: "D:\\my-simple-framework\\Docker")
+ execute **.\build -target Deploy-Docker**
1. test your container-based development environment: open a browser, navigate to the following URLs and then you should see them without any errors:
+ [https://hoavi.viethoang.local/](https://hoavi.viethoang.local/)
+ [https://demo.viethoang.local/](https://demo.viethoang.local/)
## (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`
......@@ -79,10 +82,9 @@ The following applications/tools/utilities are required on your local machine. T
+ launch PowerShell as an administrator
+ change directory to **your solution folder**
+ execute **.\build**
## Test Your Local Environment
+ open a browser, navigate to `hoavi.viethoang.local/` and you should see the homepage without any errors
+ open a browser, navigate to `demo.viethoang.local/` and you should see the homepage without any errors
1. test your local development environment: open a browser, navigate to the following URLs and then you should see them without any errors:
+ [http://hoavi.viethoang.local/](http://hoavi.viethoang.local/)
+ [http://demo.viethoang.local/](http://demo.viethoang.local/)
## Create Deployment Folder
We can perform the build and deloy of a specific environment on the local by following these steps:
......
{
"WebsiteRoot": "C:\\inetpub\\wwwroot\\viethoang.local",
"WebsiteRoot": "D:\\my-simple-framework\\Docker\\deploy\\website",
"XConnectRoot": "C:\\inetpub\\wwwroot\\viethoang.xconnect.local",
"InstanceUrl": "https://cm.viethoang.local/",
"SolutionName": "VietHoang.Sitecore.sln",
......
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<publishUrl>https://cm.viethoang.local</publishUrl>
<publishUrl>D:\my-simple-framework\Docker\deploy\website</publishUrl>
<ExcludeFilesFromDeployment>Views\web.config</ExcludeFilesFromDeployment>
<ExcludeFilesFromDeployment>packages.config</ExcludeFilesFromDeployment>
<ExcludeFilesFromDeployment>web.config</ExcludeFilesFromDeployment>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment