-
Add Add RethinkDB key
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - -
Install packages
sudo apt-get update && sudo apt-get install -y git nodejs nodejs-legacy npm rethinkdb android-tools-adb python autoconf automake libtool build-essential ninja-build libzmq3-dev libprotobuf-dev git graphicsmagick yasm stow -
Install additional packages via npm
sudo npm install -g bower karma gulp -
Install ZeroMQ
cd ~/Downloads && wget http://download.zeromq.org/zeromq-4.1.2.tar.gz && tar -zxvf zeromq-4.1.2.tar.gz && cd zeromq-4.1.2 && ./configure --without-libsodium --prefix=/usr/local/stow/zeromq-4.1.2 make && sudo make install && cd /usr/local/stow && sudo stow -vv zeromq-4.1.2 -
Install Google protobuf
cd ~/Downloads && git clone https://github.com/google/protobuf.git && cd protobuf && ./autogen.sh && ./configure --prefix=/usr/local/stow/protobuf-`git rev-parse --short HEAD` make && sudo make install && cd /usr/local/stow && sudo stow -vv protobuf-* -
Update library path
sudo ldconfig -
Install npm
sudo npm install -g stf
-
Start required services
rethinkdb & adb start-server -
Start OpenSTF
stf local
or
stf local --public-ip <ip address>
-
View in actions
Go to htttp://<your_ip_address>:7100
Hi, i have followed the steps.
but while running i am getting error.
Options:
-h, --help Show help. [boolean]
-V, --version Show version. [boolean]
--bind-dealer, -d The address to bind the ZeroMQ DEALER endpoint to.
[string] [default: "tcp://:7112"]
--bind-pub, -u The address to bind the ZeroMQ PUB endpoint to.
[string] [default: "tcp://:7111"]
--bind-pull, -p The address to bind the ZeroMQ PULL endpoint to.
[string] [default: "tcp://*:7113"]
--name An easily identifiable name for log output.
[string] [default: "ip-172-31-20-158"]
Each option can be be overwritten with an environment variable by converting the
option to uppercase, replacing dashes with underscores and prefixing it with
STF_TRIPROXY_(e.g.STF_TRIPROXY_BIND_PUB).Could not locate the bindings file. Tried:
→ /home/ubuntu/stf/node_modules/zmq/build/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/build/Debug/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/build/Release/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/out/Debug/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/Debug/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/out/Release/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/Release/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/build/default/zmq.node
→ /home/ubuntu/stf/node_modules/zmq/compiled/10.15.3/linux/x64/zmq.node
could you please help?