From 6d676eee1e92f08b6ec3232e7f4c4bd5646597d1 Mon Sep 17 00:00:00 2001 From: Adam James Date: Fri, 17 Apr 2015 11:11:13 +0100 Subject: [PATCH] Add commands for starting samples under KRE/DNX The existing file seems to assume that KRE is being used in one step, but refers to DNX commands later on. This commit adds the specific commands to start the included samples under either KRE or DNX, depending on user preference and host OS. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index afca346aff99..3d5a77057c50 100644 --- a/README.md +++ b/README.md @@ -99,11 +99,12 @@ The samples in this repo are basic starting points for you to experiment with. 1. Clone the Home repository 2. Change directory to the folder of the sample you want to run -3. Run ```dnu restore``` to restore the packages required by that sample. +3a. If using KRE: Run ```kpm restore``` to restore the packages required by the sample. +3b. If using DNX: Run ```dnu restore``` to restore the packages required by the sample. 4. You should see a bunch of output as all the dependencies of the app are downloaded from MyGet. -5. Run the sample using the appropriate K command: - - For the console app run ```k run```. - - For the web apps run ```k web``` on Windows or ```k kestrel``` on Mono. +5. Run the sample using the appropriate `dnx` or `k` command: + - For the console app, run ```dnx . run``` or ```k run```. + - For the web apps, run ```dnx . web``` or ```k web``` on Windows and ```dnx . kestrel``` or ```k kestrel``` on Mono. 6. You should see the output of the console app or a message that says the site is now started. 7. You can navigate to the web apps in a browser by going to "http://localhost:5001" or "http://localhost:5004" if running on Mono.