Skip to content

Instantly share code, notes, and snippets.

@FlareNetwork
Created December 21, 2016 17:52
Show Gist options
  • Select an option

  • Save FlareNetwork/a73f52693d1e4aae335bb1f2d31ec3f7 to your computer and use it in GitHub Desktop.

Select an option

Save FlareNetwork/a73f52693d1e4aae335bb1f2d31ec3f7 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install steamboosthours script on debian or ubuntu server
# requires root
if [[ "$USER" != 'root' ]]; then
echo "Sorry, you need to run this as as root"
exit
fi
apt-get update
apt-get upgrade -y
apt-get install -y git wget tar build-essential libssl-dev
cd ~
mkdir tmp
cd tmp
# Install iojs
wget https://iojs.org/dist/v1.6.1/iojs-v1.6.1-linux-x64.tar.gz --no-check-certificate
tar --strip-components 1 -xzvf iojs-v* -C /usr/local
# Clone steamboosthours repository
git clone https://github.com/frk1/steamhourboost.git ~/steamboosthours
cd ~/steamboosthours
# Run npm install
npm install .
npm install -g coffee-script forever
# Finished
echo "~ Installation finished ~"
echo "Run 'coffee users.coffee' to add accounts"
echo "Run 'forever start -c coffee boost.coffee' to start boosting"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment