Go to functions/function-executor
and type mvnw package
.
The output will be in functions/function-executor/target/deployment
.
There are different profiles, one for each groovy version:
groovy_4_0
groovy_3_0
(default)groovy_2_5
Use mvn 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-remote
to run the frontend with the remote backendnpm run serve-local
to run the frontend with the local backend (start it withmvnw function:run
)
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