Created
December 21, 2016 17:52
-
-
Save FlareNetwork/a73f52693d1e4aae335bb1f2d31ec3f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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