From 874575ba92ee4438a9510141c989b298324c6ec3 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Fri, 9 Sep 2016 09:44:16 +0100 Subject: [PATCH] Fix instructions for running samples. Fixes #301 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 287a5fe..09881eb 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,9 @@ Also in this repo, [the `samples` directory](https://github.com/aspnet/JavaScrip **To run the samples:** * Clone this repo - * Change directory to the same you want to run (e.g., `cd samples/angular/MusicStore`) - * Restore dependencies (run `dotnet restore` and `npm install`). + * At the repo's root directory (the one containing `src`, `samples`, etc.), run `dotnet restore` + * Change directory to the sample you want to run (e.g., `cd samples/angular/MusicStore`) + * Restore Node dependencies by running `npm install` * If you're trying to run the Angular 2 "Music Store" sample, then also run `gulp` (which you need to have installed globally). None of the other samples require this. * Run the application (`dotnet run`) * Browse to [http://localhost:5000](http://localhost:5000)