From 8b0d7a051a3506f32a3c792d9b69d3973f424241 Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Fri, 8 Jan 2016 10:13:36 +0100 Subject: [PATCH 1/5] updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2734851b67..c151d20f49 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,12 @@ cd angular2-webpack-starter npm install # install TypeScript typings -./node_modules/.bin/typings install +typings install # start the server npm start ``` -go to [http://0.0.0.0:3000](http://0.0.0.0:3000) in your browser +go to [http://0.0.0.0:3000](http://0.0.0.0:3000) or [http://localhost:3000](http://localhost:3000) in your browser # Table of Contents * [File Structure](#file-structure) From 4ac54d4e986a7073c95bb32a20394374fd85e900 Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Fri, 8 Jan 2016 16:02:43 +0100 Subject: [PATCH 2/5] updated readme + conf for localhost --- README.md | 4 ++-- package.json | 3 ++- webpack.config.js | 2 +- webpack.prod.config.js | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2734851b67..c151d20f49 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,12 @@ cd angular2-webpack-starter npm install # install TypeScript typings -./node_modules/.bin/typings install +typings install # start the server npm start ``` -go to [http://0.0.0.0:3000](http://0.0.0.0:3000) in your browser +go to [http://0.0.0.0:3000](http://0.0.0.0:3000) or [http://localhost:3000](http://localhost:3000) in your browser # Table of Contents * [File Structure](#file-structure) diff --git a/package.json b/package.json index 985662c3b5..cc35c45533 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,10 @@ }, "dependencies": { "angular2": "2.0.0-beta.0", - "es6-shim": "^0.33.3", "es6-promise": "^3.0.2", + "es6-shim": "^0.33.3", "es7-reflect-metadata": "^1.4.0", + "foundation-sites": "^6.1.1", "rxjs": "5.0.0-beta.0", "zone.js": "0.5.10" }, diff --git a/webpack.config.js b/webpack.config.js index b60cd44f7c..d156d19dab 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,7 +15,7 @@ var ENV = process.env.ENV = process.env.NODE_ENV = 'development'; var metadata = { title: 'Angular2 Webpack Starter by @gdi2990 from @AngularClass', baseUrl: '/', - host: '0.0.0.0', + host: 'localhost', port: 3000, ENV: ENV }; diff --git a/webpack.prod.config.js b/webpack.prod.config.js index 09f5321b69..eab55afa15 100644 --- a/webpack.prod.config.js +++ b/webpack.prod.config.js @@ -16,7 +16,7 @@ var CopyWebpackPlugin = require('copy-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var WebpackMd5Hash = require('webpack-md5-hash'); var ENV = process.env.NODE_ENV = process.env.ENV = 'production'; -var HOST = process.env.HOST || '0.0.0.0'; +var HOST = process.env.HOST || 'localhost'; var PORT = process.env.PORT || 8080; var metadata = { From 63f87a4024fdedce0926c9b57145a8b46dd5eafc Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Fri, 8 Jan 2016 16:35:25 +0100 Subject: [PATCH 3/5] updated webpack conf + reverted readme on typings isntall --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c151d20f49..eb89c25e83 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ cd angular2-webpack-starter npm install # install TypeScript typings -typings install +./node_modules/.bin/typings install # start the server npm start From 4429b721772151497449c742bc1a2ea2a686b3ee Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Fri, 8 Jan 2016 16:36:18 +0100 Subject: [PATCH 4/5] updated webpack conf + reverted readme on typings isntall --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c151d20f49..eb89c25e83 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ cd angular2-webpack-starter npm install # install TypeScript typings -typings install +./node_modules/.bin/typings install # start the server npm start From e9fbda3fb54dddf678292939c0780337dafac06e Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Fri, 8 Jan 2016 16:39:48 +0100 Subject: [PATCH 5/5] removed foundation (revert) --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index cc35c45533..7a17a36169 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "es6-promise": "^3.0.2", "es6-shim": "^0.33.3", "es7-reflect-metadata": "^1.4.0", - "foundation-sites": "^6.1.1", "rxjs": "5.0.0-beta.0", "zone.js": "0.5.10" },