Skip to content

Instantly share code, notes, and snippets.

@Ashraf-Ali-aa
Forked from shoaibali/install-stf.sh
Last active February 20, 2017 20:00
Show Gist options
  • Save Ashraf-Ali-aa/56788c99cb3e44e91bba097131291d58 to your computer and use it in GitHub Desktop.
Save Ashraf-Ali-aa/56788c99cb3e44e91bba097131291d58 to your computer and use it in GitHub Desktop.
STF install shell script for ubuntu trusty
sudo apt-get install android-tools-adb android-tools-fastboot
wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
sudo mv adb /usr/bin/adb
sudo chmod +x /usr/bin/adb
adb devices
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get install graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz
tar -zxvf zeromq-4.2.1.tar.gz
cd zeromq-4.2.1/
wget https://launchpad.net/ubuntu/+archive/primary/+files/libsodium_1.0.11.orig.tar.gz
tar -zxvf libsodium_1.0.11.orig.tar.gz
cd libsodium_1.0.11
./autogen.sh
./configure
sudo make install
cd ..
./configure
sudo make install
cd ..
git clone https://github.com/google/protobuf.git
cd protobuf
./autogen.sh
./configure
make
sudo make install
cd ..
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
sudo make install
cd ..
sudo apt-get install nodejs-legacy
git clone https://github.com/openstf/stf.git
cd stf
sudo npm install -g stf
sudo npm install
sudo npm link
rethinkdb --http-port 8282 &
sudo ldconfig
#git checkout tags/v1.0.10
npm local &
firefox http://localhost:7100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment