- openjdk-11-jre-headless or newer -- required for swagger-codegen
Sources are stored in Git repository on GitHub: https://github.com/Kraken-CI/kraken. First start with forking the repository and then cloning your own copy of it.
To clone repository via HTTPS do:
or using SSH:
This command is using docker-compose.yaml file from the repository. This file defines all the services and how to build them. So this command builds all services and then spins up their containers.
Now Kraken service is avaiable from http://localhost:8080.
All containers can be stopped by
Ctrl-C. You may use this method for
development. Prepare changes, then
rake docker_up, check changes
if all is ok and then stop all with
This method is not that convenient for quick development. Building and starting all services from scratch takes several minutes. There is a better method
Each Kraken service can be run individually. There is a bunch of Rake tasks for that:
rake serve_ui- start Kraken Angular app
rake run_server- start Kraken web server
rake run_scheduler- start Kraken scheduler service
rake run_planner- start Kraken planner service
rake run_watchdog- start Kraken watchdog service
rake run_celery- start Celery with Kraken background tasks
This way all needed services can be started and then developed and restarted individually.
To avoid running all of them manually, there is a script for
Tmux terminal that
opens separate window for each service. So first start
tmux and then
load Kraken script inside
ctrl-b + :-- to open tmux prompt
or directly in command line:
or using a script in the repo:
The effect should look as follows:
Now we can connect directly to Kraken Angular application. It is available on http://localhost:4200.