diff options
author | Andreas Fankhauser hiddenalpha.ch | 2024-07-05 13:08:31 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2024-07-05 13:08:31 +0200 |
commit | 4f23f3810c66a5a7e9a631a931c109d25ba328b9 (patch) | |
tree | dcceb2f57d4896bb0637ac714cdb99bcc00629f9 /doc | |
parent | a1825fd1bca3738b1967ba289c3d494f6b415a14 (diff) | |
download | UnspecifiedGarbage-4f23f3810c66a5a7e9a631a931c109d25ba328b9.zip UnspecifiedGarbage-4f23f3810c66a5a7e9a631a931c109d25ba328b9.tar.gz |
(qemu/setup) Note how to build (AND TEST) RedisQues.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/note/setup/make-RedisQues.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/note/setup/make-RedisQues.txt b/doc/note/setup/make-RedisQues.txt new file mode 100644 index 0000000..621b78f --- /dev/null +++ b/doc/note/setup/make-RedisQues.txt @@ -0,0 +1,33 @@ + +Step-by-step shell snippets how to build RedisQues +================================================== + + && WORKDIR="/${HOME:?}/work" \ + && SUDO=sudo \ + && $SUDO apt install --no-install-recommends -y git maven redis \ + && printf '%s\n' \ + 'bind 127.0.0.1 -::1' \ + 'port 6379' \ + 'protected-mode yes' \ + 'tcp-backlog 511' \ + 'timeout 0' \ + 'tcp-keepalive 100' \ + 'daemonize yes' \ + 'pidfile /run/redis/redis-server.pid' \ + 'logfile /var/log/redis/redis-server.log' \ + 'loglevel notice' \ + 'databases 16' \ + 'set-proc-title yes' \ + 'appendonly no' \ + 'save ""' \ + | $SUDO tee >/dev/null /etc/redis/redis.conf \ + && $SUDO /etc/init.d/redis-server restart \ + && mkdir -p "${WORKDIR:?}/RedisQues" && cd "${WORKDIR:?}/RedisQues" \ + && git init \ + && git remote add upstream https://github.com/swisspost/vertx-redisques.git \ + && git fetch --depth=2 upstream refs/tags/v3.1.12:refs/tags/v3.1.12 \ + && git checkout v3.1.12 \ + && git checkout "HEAD^" \ + && mvn clean verify \ + + |