Client of the Material assets management system
- Java 12
- Spring Boot
- Gradle
- Log4j
- Lombok
- Vaadin
./gradlew clean htmlDependencyReport
./gradlew dependencyUpdates
./gradlew clean bootJar jibDockerBuild
Run the following command in this repo:
./gradlew clean bootRun
Now you can open the http://localhost:8080 with your browser.
If you do not have node.js installed locally, please run
./gradlew vaadinPrepareNode
once. The task will download a local node.js distribution to your project folder, into thenode/
folder.
Run the following command in this repo, to create necessary Vaadin config files:
./gradlew clean vaadinPrepareFrontend
The build/vaadin-generated/
folder will now contain proper configuration files.
Open the Maas-Vaadint
class, and Run/Debug its main method from your IDE.
Now you can open the http://localhost:8080 with your browser.
Run the following command in this repo:
./gradlew -Pvaadin.productionMode
That will build this app in production mode as a runnable jar archive; please find the
jar file in build/libs/base-starter-spring-gradle*.jar
. You can run the JAR file
with:
cd build/libs/
java -jar base-starter-spring-gradle*.jar
Now you can open the http://localhost:8080 with your browser.
Usually the CI images will not have node.js+npm available. However, Vaadin Gradle Plugin can download it for you. To build your app for production in CI, just run:
./gradlew clean vaadinPrepareNode build -Pvaadin.productionMode