Created
August 6, 2017 21:50
-
-
Save picatz/acaff2356e037c52b6b1c36467b9d1ef to your computer and use it in GitHub Desktop.
Example install tito bot
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
function install_tito() { | |
mkdir /home/$USER/tito | |
curl https://raw.githubusercontent.com/picatz/Tito-Slack-Bot/master/tito-bot.rb > /home/$USER/tito/tito.rb | |
curl https://raw.githubusercontent.com/picatz/Tito-Slack-Bot/master/tito-quotes.txt > /home/$USER/tito/tito-quotes.txt | |
gem install slack-ruby-client faye-websocket | |
} | |
function start_tito() { | |
ruby /home/$USER/tito/tito.rb -s & | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment