Java Osiris pivot files importer.
- By default, patients are persisted in HSQLDB in memory database.
- To persist data in MySQL or PostgreSQL :
- Install a MySQL/PostgreSQL server.
- Create a database called
josiris
. - Comment/uncomment accordingly in
src/main/resources/application.properties
.
- Open command line.
- Clone the project on your computer :
git clone https://github.com/thogau/josiris
. - Navigate to
josiris
directory. - type
java -version
and make sure you are using Java 17 or later. - Run the project :
./mvnw
. - Open http://localhost:8080/josiris in your browser.
- An example set of pivot files to import can be found in
pivot
directory.
The project is a standard Maven project. You can import it to Eclipse as you would with any Maven project.
To create a production build, call ./mvnw clean package -Pproduction
.
This will build a JAR file with all the dependencies and front-end resources,
ready to be deployed. The file can be found in the target
folder after the build completes.
Once the JAR file is built, you can run it using
java -jar target/josiris-1.0-SNAPSHOT.jar