Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix readme instructions #612

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix readme instructions
  • Loading branch information
Vampire committed Jan 10, 2025
commit 0c13f75c7f5769ea616d8af04373bebd64cccd54
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,16 +4,16 @@

### Building the backend

Go to `functions/function-executor` and type `mvnw package`.
The output will be in `functions/function-executor/target/deployment`.
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_0`
* `groovy_3_0` (default)
* `groovy_2_5`

Use `mvn package -P groovy_2_5`
Use `../../mvnw package -P groovy_2_5`

### Deploying the backend

@@ -36,7 +36,7 @@ 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 backend
* `npm run serve-local` to run the frontend with the local backend (start it with `mvnw function:run`)
* `npm run serve-local` to run the frontend with the local backend (start it with `../../mvnw function:run` from inside `functions/groovy-executor`)

### Checking code style

@@ -48,6 +48,3 @@ 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`