Skip to content

Latest commit

 

History

History
143 lines (79 loc) · 2.72 KB

README.rst

File metadata and controls

143 lines (79 loc) · 2.72 KB

@briefyhq/rolleiflex

This project was generated with angular-cli.

Minimum Versions:

  • Node: v6.9.5

You need to install it before running this codebase:

$ npm uninstall -g angular-cli @angular/cli
$ npm cache clean
$ npm install -g @angular/cli@latest

TODO

  • Remove (or change to use another field) the filter by country on the Customer listing.

Development

Get the code

Given you have privileges to access the codebase on GitHub, execute the following command on a shell prompt:

$ git clone git@github.com:BriefyHQ/briefyhq-rolleiflex.git

Local Install

Access the directory containing briefyhq-rolleiflex codebase:

$ cd briefyhq-rolleiflex

Start the development getting all dependencies:

$ npm install

Run a server:

$ node_modules/angular-cli/bin/ng serve

And point your browser to: http://localhost:4200/.

Note

The app will automatically reload if you change any of the source files.

Code scaffolding

To generate a new component:

$ ng g component component-name

You can also use ng g directive/pipe/service/class/module.

Warning

Always generate classes with the --spec, i.e. ng g class Pagination --spec

Build

To build the project execute:

$ ng build

The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Unit tests

To execute the lint:

$ ng lint

Unit tests

To execute the unit tests via Karma

$ ng test

End-to-end tests

To execute the end-to-end tests via Protractor:

$ ng e2e

Further help

To get more help on the angular-cli use:

$ ng help

Or go check out the Angular-CLI README.

References

Styles

We use the following components to implement the Material Design guidelines:

Some important references are:

Components