Skip to content

rednavis/maas-vaadin

Repository files navigation

Build Status Codacy Badge codecov

maas-vaadin

Client of the Material assets management system

Technology stack

  • Java 12
  • Spring Boot
  • Gradle
  • Log4j
  • Lombok
  • Vaadin

Create dependency report

./gradlew clean htmlDependencyReport

Update dependency

./gradlew dependencyUpdates

Create docker image

./gradlew clean bootJar jibDockerBuild

Running With Spring Boot via Gradle In Development Mode

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 the node/ folder.

Running With Spring Boot from your IDE In Development Mode

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.

Building In Production Mode

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.

Building In Production On CI

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

About

Client of the Material Assets management system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •