Data driven volunteer cloud
The easiest way is by using Docker. Please see Docker deployment.
The following should be already installed on the machine:
- Java JDK (The variable JAVA_HOME should also be set.)
Gradle is used to build the project. You can use either the native gradle command if gradle is available on your system:
or if gradle is not installed, you can use it's wrapped version, simply type:
To build Docker images locally
gradle buildAll buildImages -Penvironment=docker
After the build, in the folder build/dist/xtremweb-X.Y.Y-SNAPSHOT/bin, you can call the server, worker:
For the server:
For the worker:
The client's commands can be called natively in the /bin folder:
Run in docker
It is also possible to run the scheduler and one worker using docker out of the box. For that, you simply need to call the script
in xtremweb-hep/build/dist/xtremweb-X.Y.Z/docker/docker-compose-firstinstall.sh, the first time. After that, if you want to restart the docker containers, you can call the script:
Some variables will be set by default but they can be modified in the file .env next to the docker-compose file.