mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Updated Installing on Mac (markdown)
parent
9638ba5dc5
commit
ed989a2049
@ -3,10 +3,12 @@ A guide by orels1
|
||||
1. 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
|
||||
```
|
||||
/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 git`
|
||||
`brew install ffmpeg`
|
||||
@ -15,28 +17,27 @@ A guide by orels1
|
||||
`pip3 install youtube_dl`
|
||||
`pip3 install imgurpython`
|
||||
|
||||
3. Goto the folder you want to put red in through Terminal:
|
||||
use the commands cd (change directory) and ls (list sh*t) to navigate to the folder.
|
||||
for example, if you want Red to be installed in Applications in 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
|
||||
3. 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:
|
||||
`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
|
||||
|
||||
5. Download [this script](https://gist.githubusercontent.com/Twentysix26/17ea542e0879a9da299a/raw/81e6fec77206200780808815dd67dc24e0b8106a/macRedLoop.sh) and place the file inside your Red-DiscordBot folder,
|
||||
it should be in the same folder with red.py
|
||||
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.
|
||||
|
||||
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`
|
||||
You may need to set it as executable first.
|
||||
|
||||
8. Complete 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.
|
||||
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.
|
||||
|
||||
9. Type [your_prefix_here]ping on your server (in any chat a bot can write to)
|
||||
your bot should return "pong"
|
||||
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".
|
||||
Loading…
x
Reference in New Issue
Block a user