Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.55 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.55 KB

LTO Network - Public Blockchain UI

This project was generated with Angular CLI version 6.1.5.

The projects contains 2 applications;

  • explorer - LTO Network explorer
  • wallet - LTO Network wallet

In the commands in this README replace APP with either explorer or wallet.

The new explorer project is ltonetwork/lto-network-explorer.

Development server

Run ng serve APP for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

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 APP to build the project. The build artifacts will be stored in the dist/ directory. Use --configuration to build for testnet or mainnet production env.

  • Testnet - ng build wallet --configuration testnet
  • Mainnet - ng build wallet --configuration mainnet

Running unit tests

Run ng test APP to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e APP 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.