Data driven volunteer cloud
The easiest way is by using Docker. Please see Docker deployment.
The following should be already installed on the machine:
- make
- ant
- 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:
gradle buildAll
or if gradle is not installed, you can use it's wrapped version, simply type:
./gradlew buildAll
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:
./xtremweb.server console
For the worker:
./xtremweb.worker console
The client's commands can be called natively in the /bin folder:
- xwapps
- xwusers
- xwworkers
- ...
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
docker-compose-firstinstall.sh
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:
docker-compose-simple-run.sh
Some variables will be set by default but they can be modified in the file .env next to the docker-compose file.