Skip to content

Som-Energia/webforms-ui

Repository files navigation

WebForms UI

CI cypress webforms-ui

Som Energia WebForms UI

Installation 🔧

  1. Install NPM packages
  npm install

Run the app 🚀

Run the app on dev mode

  npm start

Testing ⚙️

Launches the Jest test runner in the interactive watch mode.

npm test

Launches the Cypress test runner. Cypress requires you to run npm start in parallel.

npm run cypress

To get holderChangePersonaldata.js:

cd cypress/fixtures/
ln -s ../../../testdata/b2bs/holderChangePersonaldata.json .

To get .env.development:

ln -s $myit-docs_dir/it-docs/conf/webforms-ui/.env.development

We should have testdata repo!

Deployment

To deploy we have to use deploy.sh

scripts/deploy.sh [env]

Testing

If you want to deploy to the web:

scripts/deploy.sh pre

This command uses deploy-pre.conf. It is now defined with the test web configuration.

If you want to deploy to the OV:

scripts/deploy.sh ovtest [vassal number]

This command uses deploy-ovtest.conf. It is now defined with the test OV configuration.

Production

If you want to deploy to the web:

scripts/deploy.sh production

This command uses deploy-production.conf. It is now defined with the production web configuration.

If you want to deploy to the OV:

TODO

About

Som Energia WebForms UI React reimplementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 17

Languages