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:
- Prepare the bundle directory:
cp -r bundle_src bundle - Initialize the project:
ent prj init - Initialize publication:
ent prj pbs-init(requires the git bundle repo url)
- Build:
ent prj build(build the frontend and backend) orent prj fe-build -a(to just build the frontend, including changes from bundle_src) - Publish:
ent prj puborent prj fe-push(publish all or just the frontend) - Deploy (after connecting to k8s above):
ent prj deploy - Install the bundle via 1) App Builder, 2)
ent prj install, or 3)ent prj install --conflict-strategy=OVERRIDEon subsequent installs. - Iterate steps 1-4 to publish new versions.
You can use the following commands from the application folder to run the local stack
ent prj be-test-run- to run the microserviceent prj fe-test-run- to run the React frontend
- Access Springboot at http://localhost:8081/swagger-ui.html
- Access UI at http://localhost:3001/