diff --git a/README.md b/README.md index 44b0800e68..d09cc8467e 100644 --- a/README.md +++ b/README.md @@ -14,17 +14,17 @@ This project is part of ASP.NET 5.0. You can find samples, documentation and get ## Run on WebListener/Kestrel: * Open a command prompt and cd `\src\MusicStore\`. * **[WebListener]:** - 4. Run `k web` (Application started at URL **http://localhost:5002/**). + 4. Run `dnx . web` (Application started at URL **http://localhost:5002/**). * **[Kestrel]:** - 5. Run `k kestrel` (Application started at URL **http://localhost:5004/**). + 5. Run `dnx . kestrel` (Application started at URL **http://localhost:5004/**). * **[CustomHost]:** - 6. Run `k run` (This hosts the app in a console application - Application started at URL **http://localhost:5003/**). + 6. Run `dnx . run` (This hosts the app in a console application - Application started at URL **http://localhost:5003/**). ## To run the sample on Mac/Mono: * Follow [Home](https://github.com/aspnet/home) instructions to install mono, kvm on Mac. * Open a command prompt and cd `\src\MusicStore\`. * Execute `dnu restore`. -* Try `k kestrel` to run the application. +* Try `dnx . kestrel` to run the application. **NOTE: On Mono since SQL client is not available the sample uses an InMemoryStore to run the application. So the changes that you make will not be persisted. ### Deploy on Heroku diff --git a/build.sh b/build.sh index f99739f585..3989e0e2b4 100644 --- a/build.sh +++ b/build.sh @@ -31,7 +31,7 @@ if ! type dnvm > /dev/null 2>&1; then source packages/KoreBuild/build/dnvm.sh fi -if ! type k > /dev/null 2>&1; then +if ! type dnx > /dev/null 2>&1; then dnvm upgrade fi diff --git a/src/MusicStore/Program.cs b/src/MusicStore/Program.cs index 2e986e9642..c65c9de6d2 100644 --- a/src/MusicStore/Program.cs +++ b/src/MusicStore/Program.cs @@ -6,8 +6,8 @@ using Microsoft.Framework.ConfigurationModel; namespace MusicStore { /// - /// This demonstrates how the application can be launched in a K console application. - /// k run command in the application folder will invoke this. + /// This demonstrates how the application can be launched in a console application. + /// "dnx . run" command in the application folder will invoke this. /// public class Program { diff --git a/src/MusicStore/Startup.cs b/src/MusicStore/Startup.cs index 92ea0fe8bf..71964b2b69 100644 --- a/src/MusicStore/Startup.cs +++ b/src/MusicStore/Startup.cs @@ -181,7 +181,7 @@ namespace MusicStore // netsh http add urlacl url=http://ktesting:5001/ user=[domain\user] // The sample app can then be run via: - // k web + // dnx . web app.UseMicrosoftAccountAuthentication(); // Add MVC to the request pipeline