Angular based webapp for the cloud-api.
10K+
This app provides access to the Portal-API and to the Perun API.
You can run the webapp using docker:
docker run -e ANGULAR_MODE=prod -p 80:80 denbicloud/cloud-portal-webapp:RELEASE
You can find current releases on GitHub.
Note: The cloud-api server must also be running.
git clone -b dev https://github.com/deNBI/cloud-portal-webapp.git
cd cloud-portal-webapp
Install nodejs virtual environment as decribed here.
Run the Makefile
make
The default target checks if steps 1 - 3 were executed and then creates a node-environment, followed by installing all needed npm packages and angular cli (by running npm install and npm install -g @angular/cli). For more makefile targets run help.
make help
make serve
or
. env/bin/activate
ng serve
the dev server should run now on localhost:8001. The app will automatically reload if you update any of the source files.
You must first setup and start the project as described in the Project Setup section.
Enable Javascript debugging by choosing JavaScript Debug in your Run/Debug configurations

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
We are using Compodoc to visualize the code written in TypeScript-files.
npm install
Example:
/**
* Uses the data from the application form to fill the confirmation-modal with information.
* @param f the application form with corresponding data
*/
filterEnteredData(f: NgForm) {
...
npm run compodoc
firefox documentation/overview.html
Content type
Image
Digest
sha256:9e2660597…
Size
19 MB
Last updated
over 3 years ago
docker pull denbicloud/cloud-portal-webapp:dev