|
46 | 46 |
|
47 | 47 | Installed below dependencies: |
48 | 48 |
|
49 | | -- java8 |
50 | | -- nodeJS |
| 49 | +- Java 17 |
| 50 | +- NodeJS 18 |
| 51 | + |
| 52 | +# Cloning |
| 53 | + |
| 54 | +This project uses the [material-table](https://github.com/databucket/material-table.git) project as a Git Submodule. |
| 55 | +In order to be able to build the frontend, the submodule is also built. |
| 56 | +Clone the project with the extra `--recurse-submodules` argument in order to also have the material-table code. |
| 57 | + |
| 58 | +```shell |
| 59 | +git clone --recurse-submodules https://github.com/databucket/databucket-server.git |
| 60 | +``` |
| 61 | + |
| 62 | +If you need to update the material-table submodule, you can run: |
| 63 | +```shell |
| 64 | +git submodule update --recursive --remote |
| 65 | +``` |
51 | 66 |
|
52 | 67 | ## Useful commands |
53 | 68 |
|
54 | | -| command | what it does| |
55 | | -| ------------- |-------------| |
56 | | -|`./gradlew clean assemble`| compiles java classes| |
57 | | -|`./gradlew test`| runs all tests | |
58 | | -|`./gradlew buildFrontend`| installs frontend dependencies and builds frontend| |
59 | | -|`./gradlew copyFrontend`|`buildFrontend` and copies frontend file to java resources | |
60 | | -|`export SPRING_PROFILES_ACTIVE=dev && ./gradlew bootRun`| starts app with dev profile | |
61 | | -|`./gradlew clean build`| compiles java classes, builds frontend, runs tests and prepares all-in-one runnable jar | |
| 69 | +| command | what it does | |
| 70 | +|----------------------------------------------------------|-----------------------------------------------------------------------------------------| |
| 71 | +| `./gradlew clean assemble` | compiles java classes | |
| 72 | +| `./gradlew test` | runs all tests | |
| 73 | +| `./gradlew buildFrontend` | installs frontend dependencies and builds frontend | |
| 74 | +| `./gradlew copyFrontend` | `buildFrontend` and copies frontend file to java resources | |
| 75 | +| `export SPRING_PROFILES_ACTIVE=dev && ./gradlew bootRun` | starts app with dev profile | |
| 76 | +| `./gradlew clean build` | compiles java classes, builds frontend, runs tests and prepares all-in-one runnable jar | |
62 | 77 |
|
63 | 78 |
|
0 commit comments