Skip to content

Entando-Hub/entando-strapi-widgets

Repository files navigation

Deployment and installation

With this configuration, you can use the ent cli (https://dev.entando.org/next/docs/reference/entando-cli.html) to perform the full deployment sequence:

Setup the project directory.

  1. Prepare the bundle directory: cp -r bundle_src bundle
  2. Initialize the project: ent prj init
  3. Initialize publication: ent prj pbs-init (requires the git bundle repo url)
  4. Attach to kubernetes for an Entando application via ent attach-kubeconfig config-file or similar

Publish the bundle.

  1. Build: ent prj build (build the frontend and backend) or ent prj fe-build -a (to just build the frontend, including changes from bundle_src)
  2. Build for configuration widgets: ent prj fb and choose config widget number
  3. Publish: ent prj pbs-publish (publish all)
  4. Deploy (after connecting to k8s above): ent prj deploy
  5. Install the bundle via 1) App Builder, 2) ent prj install, or 3) ent prj install --conflict-strategy=OVERRIDE on subsequent installs.
  6. Iterate steps 1-4 to publish new versions.

Local testing of the project

You can use the following commands from the application folder to run the local stack

  • ent prj xk start - or stop to shutdown keycloak again.
  • ent prj be-test-run - to run the microservice
  • ent prj fe-test-run - to run the React frontend

Local setup

Notes

  • only admin role is required to run the template service

About

entando-strapi-widgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5