mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Fix instructions for running samples. Fixes #301
This commit is contained in:
@@ -69,8 +69,9 @@ Also in this repo, [the `samples` directory](https://github.com/aspnet/JavaScrip
|
|||||||
**To run the samples:**
|
**To run the samples:**
|
||||||
|
|
||||||
* Clone this repo
|
* Clone this repo
|
||||||
* Change directory to the same you want to run (e.g., `cd samples/angular/MusicStore`)
|
* At the repo's root directory (the one containing `src`, `samples`, etc.), run `dotnet restore`
|
||||||
* Restore dependencies (run `dotnet restore` and `npm install`).
|
* 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.
|
* 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`)
|
* Run the application (`dotnet run`)
|
||||||
* Browse to [http://localhost:5000](http://localhost:5000)
|
* Browse to [http://localhost:5000](http://localhost:5000)
|
||||||
|
|||||||
Reference in New Issue
Block a user