This project was generated with Angular CLI version 8.3.8.
Run npm run serve
for a dev server. Navigate to http://localhost:4100/
.
The app will automatically reload if you change any of the source files.
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
.
Run npm run build
to build the project.
The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
This project use project Gravitee UI Components. If you want to develop in parallel, you can clone repository and link to project.
git clone git@github.com:gravitee-io/gravitee-ui-components.git
pushd gravitee-ui-components
npm run generate:dist
npm link
popd
pushd gravitee-portal-webui
npm link @gravitee/ui-components
popd
This project use project gravitee-clients-sdk. If you want to develop in parallel, you can clone repository and link to project.
git clone git@github.com:gravitee-io/gravitee-clients-sdk.git
pushd gravitee-clients-sdk
npm run publish:local
popd
pushd gravitee-portal-webui
npm run install-sdk
popd
If you want review a pull request with changes on Gravitee UI Components and/or gravitee-clients-sdk dependencies, you can use scripts/install.sh for automatic installation of branch with same name. Don’t forget to reset your package.json and package-lock.json after reviewing.
This project use the internationalization (i18n) library for Angular http://www.ngx-translate.com
If you want extract translatable strings and merges with existing if the JSON file already exists, run:
npm run generate:i18n