From 6963ace513cd1d6fd2cf74815f85be481e895fd3 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Tue, 22 Mar 2016 14:26:58 +0100 Subject: [PATCH] Updated Installing on Mac (markdown) --- Installing-on-Mac.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Installing-on-Mac.md b/Installing-on-Mac.md index 80e9987..d8d139a 100644 --- a/Installing-on-Mac.md +++ b/Installing-on-Mac.md @@ -1,14 +1,14 @@ A guide by orels1 -1. Install brew +* Install brew In Finder or Spotlight, search for and open terminal In the window opened - paste this: -``` + ``` /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -``` - And press enter. + ``` + And press enter. -2. After the installation, install the required packages by pasting commands below and pressing enter, one-by-one: +* After the installation, install the required packages by pasting commands below and pressing enter, one-by-one: `brew install python3` `brew install git` `brew install ffmpeg` @@ -17,27 +17,27 @@ A guide by orels1 `pip3 install youtube_dl` `pip3 install imgurpython` -3. Enter the folder you want to install Red in through the Terminal: +* Enter the folder you want to install Red in through the Terminal: use the command `cd` (change directory) and `ls` (list files/dirs) to navigate to the folder. For example, if you want Red to be installed in Applications inside a folder named Discord Stuff, you could type `cd "Applications/Discord Stuff"` (notice, if you have a space in a folder name, surround the path with quotes) or you could type `cd Applications` then `ls` to make sure you're in the right place, then `cd "Discord Stuff"` or you could type `cd` then drag the folder from finder into terminal before pressing enter -4. Paste this command into terminal and press enter: +* Paste this command into terminal and press enter: ``` git clone -b develop --single-branch https://github.com/Twentysix26/Red-DiscordBot.git Red-DiscordBot ``` - do not close the termial windows afterwards + do not close the terminal afterwards -5. Download [this script](https://gist.githubusercontent.com/Twentysix26/17ea542e0879a9da299a/raw/81e6fec77206200780808815dd67dc24e0b8106a/macRedLoop.sh) and place the file inside your Red-DiscordBot folder, the same folder where red.py is. +* Download [this script](https://gist.githubusercontent.com/Twentysix26/17ea542e0879a9da299a/raw/81e6fec77206200780808815dd67dc24e0b8106a/macRedLoop.sh) and place the file inside your Red-DiscordBot folder, the same folder where red.py is. -6. Run `export PATH=$PATH:/usr/local/Cellar/opus/1.1.2/lib/` in the terminal +* Run `export PATH=$PATH:/usr/local/Cellar/opus/1.1.2/lib/` in the terminal -7. In Terminal, inside the Red-DiscordBot folder, paste this command and press enter: +* In Terminal, inside the Red-DiscordBot folder, paste this command and press enter: `sh macRedLoop.sh` You may need to set it as executable first. -8. Complete the initial setup as the bot requires (email, password, etc.), remember to sign into the bot's account once and join your main server. This is the only time you will need to sign into the bot's account. +* Complete the initial setup as the bot requires (email, password, etc.), remember to sign into the bot's account once and join your main server. This is the only time you will need to sign into the bot's account. -9. To verify that the bot works, do `[your_prefix_here]ping` on your server (in any chat Red can read and write messages). It should respond "pong". \ No newline at end of file +* To verify that the bot works, do `[your_prefix_here]ping` on your server (in any chat Red can read and write messages). It should respond "pong". \ No newline at end of file