Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonitasoft/bonita-portal-js
Part of bonita portal written using AngularJs
https://github.com/bonitasoft/bonita-portal-js
lifecycle-platform published-never subtree transitive-dep
Last synced: about 2 months ago
JSON representation
Part of bonita portal written using AngularJs
- Host: GitHub
- URL: https://github.com/bonitasoft/bonita-portal-js
- Owner: bonitasoft
- License: gpl-2.0
- Created: 2014-06-30T14:59:02.000Z (over 10 years ago)
- Default Branch: dev
- Last Pushed: 2024-10-21T16:10:51.000Z (3 months ago)
- Last Synced: 2024-10-22T04:09:19.944Z (3 months ago)
- Topics: lifecycle-platform, published-never, subtree, transitive-dep
- Language: JavaScript
- Homepage:
- Size: 3.58 MB
- Stars: 8
- Watchers: 25
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bonita portal js
Part of bonita portal written using AngularJs
## Requirements
- Java 17
- Node 18## Install node tools
Node tools are installed during the maven build using the `maven-frontend-plugin`.
To honor the tool version specify in the `pom.xml` make sure no `yarnrc.yml` exists in your home directory.
Run `./mvnw clean install` to install the yarn version required for this project.## Development tasks
Please run `./node/yarn/dist/bin/yarn install` and `./node/yarn/dist/bin/yarn build` at least once before launching any of the following tasks### Launch project in development mode
Before running project in development mode, you need to launch a Bonita backend available on URL http://localhost:8080/
Then launch:./node/yarn/dist/bin/yarn start
Project should be running at URL http://localhost:9000/bonita/portaljs/.For instance, if you want to run the application-list page in development mode, with live update, you can do the following steps:
- Open the application list from the Admin app: http://localhost:8080/bonita/apps/adminAppEEBonita/admin-application-list/
- Open the Frame from the page context menu (install the "Open Frame" Chrome extension if needed)
- Replace http://localhost:8080/bonita/portal.js by http://localhost:9000/bonita/portaljs/ in the URL.Now, you are running the application-list page in development mode, with live update!
### Launch unit tests
./node/yarn/dist/bin/yarn run test### Launch unit tests in watch mode
./node/yarn/dist/bin/yarn run test:watch
### Launch end to end tests
./node/yarn/dist/bin/yarn run e2e
You can run specific e2e class test with this command line../node/yarn/dist/bin/yarn run e2eOnly --specs=path_to_file.e2e.js
### Launch end to end tests in headless mode
./node/yarn/dist/bin/yarn run e2e:headless### Launch end to end tests in headless mode
./node/yarn/dist/bin/yarn run e2e:headless### Build project
./node/yarn/dist/bin/yarn run build### Localization
Localization keys can be extracted from source files to an .pot output file (./target/portal-js.pot). To do so, run the following commandya./node/yarn/dist/bin/yarnrn run pot
## Maven buildProject can also be built using maven
./mvnw clean package [-Pe2e]
This will build the project, package it in a zip file and, run end to end test if _e2e_ profile is activated