This project was generated with Angular CLI version 8.3.20.
- Run
ng serve
for a dev server - Run
ng build
to build the project. The build artifacts will be stored in thedist/
directory. Use the--prod
flag for a production build. - Run
ng test
to execute the unit tests via Karma. - Run
ng e2e
to execute the end-to-end tests via Protractor.
Read more about the project structure:
- https://medium.com/@motcowley/angular-folder-structure-d1809be95542
- https://itnext.io/choosing-a-highly-scalable-folder-structure-in-angular-d987de65ec7
Dev environment
You will want nginx to add 'allow cross origin' headers to dclcli
responses. Find nginx configuration template in templates
and place it into /etc/nginx/conf.d
.
Deployment
- Read more about deployment in
ansible/README.md
.
Configuration
Configuration is located in: src/environments/environment.tx
and src/environments/environment.prod.tx
for dev and prod environments correspondingly.
There are two important settings here:
apiUrl
: base path of the runningdclcli rest-server
;chainId
: chain id,dclchain
by default.