Sign inSign up

jconcepts/jproject-web

By jconcepts

•Updated 5 months ago

jProject Business Suite - Manage Time Records, Travels, Invoices

Image
0

2.2K

jconcepts/jproject-web repository overview

Project Home

https://sourceforge.net/projects/jsuite/⁠

GIT Repo

  git clone git://git.code.sf.net/p/jsuite/git jsuite-git

Configuration

All params are optional.

jproject.applicationName: jProject Business - Suite
    Name of the application
jproject.languages: de_DE,en_US,en_UK
    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            

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/" \
-p 8088:8080 --restart always -t jconcepts/jproject-web:$version$

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".

Tag summary

Content type

Image

Digest

sha256:d2bc8043c…

Size

402.9 MB

Last updated

5 months ago

docker pull jconcepts/jproject-web