Skip to content
NavCoin Stake Box 2.0 (Kowhai) :: UI
Branch: v2.0.0-kowhai
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
src
testing
.angular-cli.json
.dockerignore
.editorconfig
.gitignore
Dockerfile
LICENSE
README.md
dev-prep.sh
dev-start.sh
docker-compose.yml
karma.conf.js
package-lock.json
package.json
protractor.conf.js
tsconfig.json
tslint.json

README.md

NavpiFrontend

This project was generated with Angular CLI version 1.4.9.

Development Setup - DOCKER

Make sure you have docker installed, and are in the NavPi JS directory. This image will auto reload

Build the image:

docker build -t navpi-js-dev .

Run the container:

docker run -it -p 4200:4200 -v ${pwd}:/app navpi-js-dev

Please note: The –v volume mapping means that changes on the host and these are immediately available inside the Docker container. Open http://localhost:4200

Install the dependencies:

./dev-prep.sh

Development Process - DOCKER

Run the container:

If the container is not running then start it

docker run -it -p 4200:4200 -v ${pwd}:/app navpi-js-dev

Start the server

./dev-start.sh

The site will be avaible on http://localhost:4200

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

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

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

Distributed under the MIT software license.

You can’t perform that action at this time.