Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Commit

Permalink
add a way to install gems easily on mac or linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Chew committed Sep 16, 2017
1 parent 688f6e7 commit 6853924
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Chewbotcca-IRC
# Chewbotcca IRC Bot

I made this bot for my IRC Channel. It's ok i guess.
I made this bot for my IRC Network. It's ok i guess.

## How to install and run

Installing:
1) Download using [Download Zip](https://github.com/Chewsterchew/ChewbotccaIRC/archive/master.zip) or idk just get the file from the website to your computer or wherever you're hosting.
2) Install ruby. don't ask me how just google it
3) Using Gem, install Rest-Client
4) Modify the config to your liking.
5) `ruby bot.rb`
3) Modify the config to your liking.
4) If on Mac or Linux, run `./scripts/installgems.sh` otherwise:

```
gem install cinch
gem install nokogiri
gem install rest-client
ruby bot.rb
```

IF YOU'RE CONFUSED (which i already am), just send an issue.

Expand All @@ -28,6 +34,6 @@ Minecraft | `!uuid` | Shows UUID for a user.
Minecraft | `!server` | Looks up a server for stats. Provide an IP please.
Owner | `!configure` | Configure certain aspects of the bot.
Owner | `!setownerhost` | Set the Owner Host.
Owner | `!join` | Have the bot join a Channel
Owner | `!part` | Have the bot leave a Channel
Owner | `!restart` | Restarts the Bot.
Owner | `!join` | Force the bot join a Channel
Owner | `!part` | Force the bot leave a Channel
Owner | `!restart [args]` | Restarts the Bot. Args: [restartonly, update]
9 changes: 9 additions & 0 deletions scripts/installgems.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
while true
do
echo "Installing those gems"
gem install cinch
gem install rest-client
gem install nokogiri
echo "Booting up the bot..."
ruby bot.rb
done

0 comments on commit 6853924

Please sign in to comment.