Go to functions/groovy-executor and type ../../mvnw package.
The output will be in functions/groovy-executor/target/deployment.
There are different profiles, one for each groovy version:
groovy_4_0groovy_3_0(default)groovy_2_5
Use ../../mvnw package -P groovy_2_5
Go to https://github.com/groovy-console/groovy-web-console/actions/workflows/deploy.yml and click on Run Workflow
You need to have Node 16 LTS installed.
- Navigate to
services/frontend - Install dependencies with
npm ci - Build the frontend with
npm run build
The output will be in services/frontend/dist.
Do the same steps as building the frontend but substitute the last command for:
npm run serve-remoteto run the frontend with the remote backendnpm run serve-localto run the frontend with the local backend (start it with../../mvnw function:runfrom insidefunctions/groovy-executor)
You can check the code style with npm run lint and automatically fix most issues with npm run lint-fix.
The web frontend consists only of static assets (HTML, JavaScript, and CSS).
Go to https://github.com/groovy-console/groovy-web-console/actions/workflows/deploy-frontend.yml and click on Run Workflow.
Alternatively, to deploy it manually after building it, go to the services/frontend directory, and type: ./deploy.sh