File tree Expand file tree Collapse file tree 3 files changed +4
-249
lines changed Expand file tree Collapse file tree 3 files changed +4
-249
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,13 @@ $ npm install
6060You can pick one of these options:
6161
62621 . serve this repository with a webserver of-your-choice
63- 2 . having installed node.js , you can run a script starting a simple web server:
63+ 2 . having installed node/npm (> 5.2.1) , you can start a simple web server with ` npx ` :
6464
6565```
66- $ ./scripts/web-server.js
66+ $ npx serve app
6767```
6868
69- Then navigate your browser to ` http://localhost:<port>/app/index.html ` to see the app running in
70- your browser.
69+ Then open ` http://localhost:3000/ ` in your browser.
7170
7271### Run tests
7372
Original file line number Diff line number Diff line change 1212 "url" : " git://github.com/atufkas/angular-openweather-app.git"
1313 },
1414 "scripts" : {
15- "start" : " node scripts/web-server.js " ,
15+ "start" : " npx serve app " ,
1616 "test" : " scripts/all-tests.sh"
1717 },
1818 "devDependencies" : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments