Menu

Tree [6128f4] master /
 History

HTTPS access


File Date Author Commit
 .mvn 2025-01-01 ogries ogries [628a6a] feat; JPROJ-50 added ZugFerd eInvoice generatio...
 jproject-batch 2025-05-12 ogries ogries [e7cba0] feat; JPROJ-50 externalized cron expression for...
 jproject-boundary 2025-04-14 oliver oliver [d5cb2f] feat; fixed liquibase script for h2
 jproject-common 2022-01-09 ogries ogries [2bdc40] feat; updated liquibase version, added logNews ...
 jproject-core 2025-06-17 oliver oliver [6128f4] fixed migration skript for version 0.8.1
 jproject-plugins 2025-03-29 ogries ogries [df108c] fix; JPROJ-50 fixed flickering test
 jproject-setup-web 2025-06-17 oliver oliver [6128f4] fixed migration skript for version 0.8.1
 jproject-web 2025-05-13 Oliver Gries Oliver Gries [0e8ef8] updated tomcat version for container
 .gitignore 2021-05-14 Oliver Gries Oliver Gries [3ac431] JPROJ-26 changed application to be completly sp...
 .gitlab-ci.yml 2022-01-09 ogries ogries [2bdc40] feat; updated liquibase version, added logNews ...
 CHANGELOG 2025-04-14 oliver oliver [38c5b2] feat; added changelog entry; changed pom version
 README.md 2022-04-01 ogries ogries [d64140] fix; added infos for timezone issues in readme
 ci_settings.xml 2022-01-09 ogries ogries [2bdc40] feat; updated liquibase version, added logNews ...
 mvnw 2025-01-01 ogries ogries [628a6a] feat; JPROJ-50 added ZugFerd eInvoice generatio...
 mvnw.cmd 2025-01-01 ogries ogries [628a6a] feat; JPROJ-50 added ZugFerd eInvoice generatio...
 pom.xml 2025-06-17 oliver oliver [6128f4] fixed migration skript for version 0.8.1

Read Me

Prerequistites for build

maven variable to define docker.url for building docker images: docker.url e.g. in settings.xml

 <properties>
         <docker.url>dockerhost:port</docker.url>
 </properties>

Configuration

All params are optional.

jproject.applicationName: jProject Business - Suite
    Name of the application
jproject.languages: de_DE,en_US,en_GB
    Supported languages
jproject.policy.profile.standard.name: simple
    Standard policy definition if creating new users
jproject.policy.profile.file: policy.xml
    Standard policy file; check the format to provide your own permission profile settings

Passing params via -D on project start within an IDE like:

-Dspring.profiles.active=$anyName$
    the standard profile name is 'default' you can start the application with different profiles, each holding its own database setup
-Dspring.config.additional-location=/anyDir/.jproject-config/
    define additionional directory where spring configs are located  
-Djproject.config.dir=/anyDir/.jproject-config/
    parameter where during setup the config file will be written to; standard is ./config      
-Duser.timezone="Europe/Berlin"
    standard time zone is the server time zone; you can provide any own timezone via this property
    for the docker image you need to pass the timezone via the TZ parameter as shown below

Timezone Issues

You have to make sure that the database timezone and the application timezone are in sync otherwise you might getting issues during daylight saving changes.
Use the TZ parameter for the docker image or the -Duser.timezone parameter for an IDE or application server to set the application timezone.

Database Support

  • MySql Server Version > 8.0
  • PostgreSQL > 9.5
  • MariaDB Server Version > 10.2 (via standard mysql database setup)

Start docker image

If you running jProject in a docker container you might want to store the database setup externally.

Create a volume and map the volume to the internal config directory. You can change the internal config directory with the parameters shown above.

If you start the project via an IDE, the config params needs to have the format as shown above. However, passing parameter to an docker container the params changes to uppercase with hyphen as shown below.

Minimum command to start the docker image with external volume mapping is:

docker run --name jproject -d \
-v jproject-config:/usr/local/tomcat/config \
-p 8088:8080 --restart always -t jconcepts/jproject-web:$version$

You can pass more parameters as show below:

docker run --name jproject -d 
-v jproject-config:/config 
-e "SPRING_PROFILES_ACTIVE=development" \
-e "JPROJECT_CONFIG_DIR=/config/" \
-e "SPRING_CONFIG_ADDITIONAL_LOCATION=/config/" \
-e "TZ=Europe/Berlin" \
-p 8088:8080 --restart always -t jconcepts/jproject-web:latest

Start Application

Navigate to http://$serverName$:8088, run through the setup if done for the first time and login with the standard user admin and password admin.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.