Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,27 @@
Simple app that consumes Angular Material 2 components. Built with the `angular-cli`.

See it live: https://material2-app.firebaseapp.com/

### Pre-requisite
# globally install angular-cli
$ npm install -g angular-cli

### Installation

```bash
# clone our repo
$ git clone https://github.com/jelbourn/material2-app.git my-app

# change directory to your app
$ cd my-app

# install the dependencies with npm
$ npm install

# run ngc compiler. if you get 'ngc command not found' error then try adding /path/to/my-app/node_modules/.bin to your $PATH
$ ./node_modules/.bin/ngc -p src/tsconfig.json

# start the server
$ npm start
```
go to [http://localhost:4200](http://localhost:4200) in your browser.