mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Updated Installing on Mac (markdown)
parent
9638ba5dc5
commit
ed989a2049
@ -3,10 +3,12 @@ A guide by orels1
|
|||||||
1. Install brew
|
1. Install brew
|
||||||
In Finder or Spotlight, search for and open terminal
|
In Finder or Spotlight, search for and open terminal
|
||||||
In the window opened - paste this:
|
In the window opened - paste this:
|
||||||
`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
|
```
|
||||||
and press enter
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
|
```
|
||||||
|
And press enter.
|
||||||
|
|
||||||
2. After the installation, install required packages, by pasting commands below and pressing enter one-by-one
|
2. After the installation, install the required packages by pasting commands below and pressing enter, one-by-one:
|
||||||
`brew install python3`
|
`brew install python3`
|
||||||
`brew install git`
|
`brew install git`
|
||||||
`brew install ffmpeg`
|
`brew install ffmpeg`
|
||||||
@ -15,28 +17,27 @@ A guide by orels1
|
|||||||
`pip3 install youtube_dl`
|
`pip3 install youtube_dl`
|
||||||
`pip3 install imgurpython`
|
`pip3 install imgurpython`
|
||||||
|
|
||||||
3. Goto the folder you want to put red in through Terminal:
|
3. Enter the folder you want to install Red in through the Terminal:
|
||||||
use the commands cd (change directory) and ls (list sh*t) to navigate to the folder.
|
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 in a folder named Discord Stuff,
|
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)
|
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 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
|
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:
|
4. Paste this command into terminal and press enter:
|
||||||
`git clone -b develop --single-branch https://github.com/Twentysix26/Red-DiscordBot.git Red-DiscordBot`
|
```
|
||||||
|
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 termial windows afterwards
|
||||||
|
|
||||||
5. Download [this script](https://gist.githubusercontent.com/Twentysix26/17ea542e0879a9da299a/raw/81e6fec77206200780808815dd67dc24e0b8106a/macRedLoop.sh) and place the file inside your Red-DiscordBot folder,
|
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.
|
||||||
it should be in the same folder with red.py
|
|
||||||
|
|
||||||
6. Run `export PATH=$PATH:/usr/local/Cellar/opus/1.1.2/lib/` in the terminal
|
6. Run `export PATH=$PATH:/usr/local/Cellar/opus/1.1.2/lib/` in the terminal
|
||||||
|
|
||||||
7. In terminal, in Red-DiscordBot floder, paste this command and press enter:
|
7. In Terminal, inside the Red-DiscordBot folder, paste this command and press enter:
|
||||||
`sh macRedLoop.sh`
|
`sh macRedLoop.sh`
|
||||||
|
You may need to set it as executable first.
|
||||||
|
|
||||||
8. Complete initial setup as the bot requires (email, password, etc.)
|
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.
|
||||||
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. Type [your_prefix_here]ping on your server (in any chat a bot can write to)
|
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".
|
||||||
your bot should return "pong"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user