This is a simple angular 2 app to bet on the UEFA Euro 2016.
It is based on the great starter angular2-webpack-starter
Make sure you have node version >= 4.0
# clone the repo
git clone https://github.com/ojacquemart/ng2-euro-bets.git
# change directory to the repo
cd ng2-euro-bets
# add required global libraries
npm install typings webpack-dev-server rimraf webpack -g
# install the repo with npm
npm install
# start the server
npm start
# use Hot Module Replacement
npm run server:dev:hmr
# production
npm run build:prod
npm run server:prodgo to http://0.0.0.0:3000 or http://localhost:3000 in your browser
Once you have those, you should install these globals with npm install --global:
-
webpack(npm install --global webpack) -
webpack-dev-server(npm install --global webpack-dev-server) -
karma(npm install --global karma-cli) -
protractor(npm install --global protractor) -
typings(npm install --global typings) -
typescript(npm install --global typescript)
-
forkthis repo -
cloneyour fork -
npm installto install all dependencies -
typings installto install necessary typings
Configuration files live in config/ we are currently using webpack, karma, and protractor for different stages of your application