From 1b200f31b6198cd793a413b1e16de16833a3c28d Mon Sep 17 00:00:00 2001 From: DecKen Date: Sun, 20 Mar 2016 17:23:54 +0800 Subject: [PATCH] update the doc issue:[Error running RESTMQ #13](https://github.com/gleicon/restmq/issues/13) --- README.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index efcd65e..e8642eb 100644 --- a/README.rst +++ b/README.rst @@ -26,8 +26,19 @@ This release is a cleanup of the original code, that can also be found on github Install ======= -$ python setup.py install -run with bash start_scripts/restmq_server or taylor your own script. Note that currently restmq is presented as a twisted plugin. +:: + +$ apt-get updata;apt-get install git curl python-pip redis-server libffi-dev python-dev -y libssl-dev +$ git clone https://github.com/gleicon/restmq.git +$ cd restmq +$ pip install -e . +$ cd start_scripts +$ touch acl.conf +$ vi restmq_server +change `"cd $SCRIPT_FOLDER; exec twistd -n restmq --acl /opt/restmq/etc/acl.conf $*"` to `"cd $SCRIPT_FOLDER; exec twistd -n restmq --acl acl.conf $*"` + + +run with bash ./restmq_server or taylor your own script. Note that currently restmq is presented as a twisted plugin. Queue Policy ============