fat-jar
Building
First of all, build factcast completely if not yet done by running
mvn install
In order to run a simple example FactCast server, you could enter the project factcast-examples/factcast-example-server and run
mvn spring-boot:run
or run it in your IDE. Note that it will use TestContainer to start an ephemeral postgres instance for you. That means, you need to have a runnable Docker installed on your machine.
In case you want to use your local Postgres instead, take a look at ExampleServerWithPostgresContainer to find out how what is necessary to use a pgsql. After all, this is just a very simple Spring Boot application using JDBC.
As expected, running
mvn package
will create a standard spring boot fat jar target/factcast.jar
that can be run instantly.
Last modified
May 9, 2023
: #2282: ktlint rule update (b1ea60d66)