commit | 68d1ef7f9758e8cb6c85e8510c0da05ff84419f3 | [log] [tgz] |
---|---|---|
author | Larbi Gharib <larbi.gharib@savoirfairelinux.com> | Tue Jul 28 10:25:38 2020 -0400 |
committer | Adrien BĂ©raud <adrien.beraud@savoirfairelinux.com> | Wed Jul 29 13:34:39 2020 -0400 |
tree | 84529e0735bb74ddd13d760f831fe0c2edf1d6e3 | |
parent | baf311c09751e7a36d74890cabe0d35977536d76 [diff] |
Users search bar user display Change-Id: I5910dcfdace9c0a429c968af0d164b656ddd0878
Clone the contents of this repository and run
mvn clean packge
This will create a distribution folder called jams
in the root folder. You can then launch the server by running
java -jar jams-launcher
If you want to start the server with an SSL certificate and on a port different from 8080, then run:
java -jar jams-launcher 8443 server.pem server.key
Where the pem
and key
files are a pem encoded certificate and key.
To generate the documentation you will need apidoc
installed on your system. This can be completed by running npm install -g apidoc
, if for some reason that does not work, you can clone their project from : https://github.com/apidoc/apidoc and install it from source.
To build the documentation, change enter the jams-server
directory and simply run:
apidoc -i src/ -o doc/
You can build the docker container using:
docker build -f Dockerfile -t jams:latest .
To run the docker container (assuming you want to have it on port 80 locally):
docker run -p 80:8080 --rm jams:latest