diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-07-02 19:54:15 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-07-02 19:54:15 +0300 |
commit | abe76f747b895ec74a297a7031ee0d3b6a0ecd58 (patch) | |
tree | 00b6c9d83fd1c9e6d92db397cf726cc705939ff1 /README | |
parent | 09cc4fe76c0d6235f39b714c8d09bc4dc7c22e53 (diff) | |
download | ick2-abe76f747b895ec74a297a7031ee0d3b6a0ecd58.tar.gz |
Add: instructions for building, using .deb to README
Diffstat (limited to 'README')
-rw-r--r-- | README | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -55,6 +55,37 @@ To actually run builds, you need to run `worker-manager`: The substitute the correct URL for the controller. +Using the .deb package +----------------------------------------------------------------------------- + +To build the .deb package (you may have to fix the version number): + + git archive HEAD | xz > ../ick2_0.2.1+git.orig.tar.xz + debuild -us -uc + sudo debi + +After this, you'll want to create `/etc/ick2/projects.yaml`, for +example: + + projects: + count: + shell_steps: + - for x in $(seq 100); do echo hello, $x; sleep 1; done + +Also, you'll want to enable and start the ick2 service: + + sudo systemctl enable ick2 + sudo systemctl start ick2 + +After this: + + curl http://localhost:12765/projects + curl http://localhost:12765/projects/count/+trigger + ./worker-manager http://localhost:12765 + +Good luck! + + Legalese ----------------------------------------------------------------------------- |