diff --git a/README.md b/README.md index 569cb8693e..2d37bd7623 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ 1. Run build.cmd to restore all the necessary packages and generate project files 2. Open a command prompt and cd \src\\ 3. [Helios]: - 4. Helios.cmd to launch the app on IISExpress. + 4. Helios.cmd to launch the app on IISExpress (Application started at URL http://localhost:5001/). 4. [SelfHost]: - 5. Run Selfhost.cmd (This runs k web) + 5. Run Selfhost.cmd (This runs k web - Application started at URL http://localhost:5002/) 5. [CustomHost]: - 6. Run CustomHost.cmd (This hosts the app in a console application) + 6. Run CustomHost.cmd (This hosts the app in a console application - Application started at URL http://localhost:5003/) ### Adding a new package: 1. Edit the project.json to include the package you want to install @@ -23,5 +23,5 @@ 2. This is a captured snapshot of build numbers which worked for this application. This LKG will be captured once in a while. ### Note: -1. By default the scripts will start the application at http://localhost:5001/. Modify the scripts to change the url. +1. The scripts Helios.cmd, SelfHost.cmd and CustomHost.cmd will start the application on different ports. To change the port or URL modify the scripts or project.json (in case of selfhost alone). 2. Use Visual studio only for editing & intellisense. Don't try to build or run the app from Visual studio. \ No newline at end of file diff --git a/src/MusicStore/CustomHost.cmd b/src/MusicStore/CustomHost.cmd index c53fa95574..83dbf252ed 100644 --- a/src/MusicStore/CustomHost.cmd +++ b/src/MusicStore/CustomHost.cmd @@ -8,4 +8,4 @@ REM Figure out path to K.cmd FOR /F %%j IN ('dir /b /o:-d ..\..\packages\ProjectK*') do (SET K_CMD_PATH=..\..\packages\%%j\tools\k.cmd) echo Found k.cmd at %K_CMD_PATH%. Starting the self host application -%K_CMD_PATH% run server.urls=http://localhost:5001 \ No newline at end of file +%K_CMD_PATH% run server.urls=http://localhost:5003 \ No newline at end of file diff --git a/src/MusicStore/project.json b/src/MusicStore/project.json index e5323c7fb1..a8749014a2 100644 --- a/src/MusicStore/project.json +++ b/src/MusicStore/project.json @@ -34,7 +34,7 @@ "Microsoft.AspNet.Logging": "0.1-alpha-*" }, "commands": { - "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" + "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5002" }, "configurations": { "net45": {