This is a short guide to install the environment to build the shngadmin application.
Visit https://nodejs.org/en/ - Download Latest Version 10.x.x Current - Install Package
Installs
- Node.js v10.7.0 in /usr/local/bin/node and
- npm v6.10 in /usr/local/bin/npm
- sudo npm install -g @angular/cli
- cd <project root folder>
- ng new my-dream-app to create a new angular app "my-dream-app"
- cd my-dream-app
- ng serve
If packages are are needed, install them using the command npm install
To be used, shngadmin needs to be included in the static folder of the module admin
- quit ngserve
- ng build --prod --aot --base-href /admin/
- copy the contents of the newly created dist/shngadmin folder to the static folder of module admin