commit
dc2450a61e
@ -1,8 +0,0 @@
|
|||||||
###Building from Source
|
|
||||||
For easy setup and no programming knowledge, you can use [Updater](https://github.com/Kwoth/NadekoUpdater/releases/latest) or download release from [Releases](https://github.com/Kwoth/NadekoBot/releases) and follow the [Windows Guide](Windows Guide.md)
|
|
||||||
|
|
||||||
In your bin/debug folder (or next to your exe if you are using release version), you must have a file called 'credentials.json' in which you will store all the necessary data to make the bot know who the owner is, and your api keys.
|
|
||||||
|
|
||||||
When you clone the project, make sure to run `git submodule init` and `git submodule update` to get the correct discord.net version
|
|
||||||
|
|
||||||
Make sure you've read ComprehensiveGuide to get a grasp of basic config/credentials setup and then look at "Credentials and config" chapter.
|
|
@ -1,16 +1,14 @@
|
|||||||
##Setting up NadekoBot on Linux
|
##Setting up NadekoBot on Linux
|
||||||
|
|
||||||
####Setting up NadekoBot on Linux Digital Ocean Droplet
|
####Setting up NadekoBot on Linux Digital Ocean Droplet
|
||||||
If you want Nadeko to play music for you 24/7 without having to hosting it on your PC and want to keep it cheap, reliable and convenient as possible, you can try Nadeko on Linux Digital Ocean Droplet using the link [DigitalOcean][DigitalOcean] (and using this link will be supporting Nadeko and will give you **$10 credit**)
|
If you want Nadeko to play music for you 24/7 without having to hosting it on your PC and want to keep it cheap, reliable and convenient as possible, you can try Nadeko on Linux Digital Ocean Droplet using the link [DigitalOcean](http://m.do.co/c/46b4d3d44795/) (and using this link will be supporting Nadeko and will give you **$10 credit**)
|
||||||
|
|
||||||
Keep this helpful video handy [Linux Setup Video][Linux Setup Video] (thanks to klincheR) it contains how to set up the Digital Ocean droplet aswell.
|
|
||||||
|
|
||||||
####Setting up NadekoBot
|
####Setting up NadekoBot
|
||||||
Assuming you have followed the link above to created an account in Digital Ocean and video to set up the bot until you get the `IP address and root password (in email)` to login, its time to begin.
|
Assuming you have followed the link above to created an account in Digital Ocean and video to set up the bot until you get the `IP address and root password (in email)` to login, its time to begin.
|
||||||
|
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
- Download [PuTTY][PuTTY]
|
- Download [PuTTY](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
|
||||||
- Download [CyberDuck][CyberDuck]
|
- Download [CyberDuck](https://cyberduck.io)
|
||||||
|
|
||||||
#### Follow these steps
|
#### Follow these steps
|
||||||
|
|
||||||
@ -20,78 +18,46 @@ If you entered your Droplets IP address correctly, it should show **login as:**
|
|||||||
- It should then, ask for password, type the `root password` you have received in your **email address registered with Digital Ocean**, then hit Enter.
|
- It should then, ask for password, type the `root password` you have received in your **email address registered with Digital Ocean**, then hit Enter.
|
||||||
|
|
||||||
*(as you are running it for the first time, it will most likely to ask you to change your root password, for that, type the "password you received through email", hit Enter, enter a "new password", hit Enter and confirm that "new password" again.*
|
*(as you are running it for the first time, it will most likely to ask you to change your root password, for that, type the "password you received through email", hit Enter, enter a "new password", hit Enter and confirm that "new password" again.*
|
||||||
**SAVE that new password somewhere safe not just in mind**. After you done that, you are ready to write commands.
|
**SAVE that new password somewhere safe, not just in your mind**. After you've done that, you are ready to write commands.
|
||||||
|
|
||||||
**Copy and just paste** using **mouse right-click** (it should paste automatically)
|
**Copy the messages as normal, and just paste** by using **mouse right-click** (it should paste automatically)
|
||||||
|
|
||||||
####Installing Mono
|
|
||||||
MONO (Source: [Mono Source][Mono Source])
|
|
||||||
|
|
||||||
|
####Installing git and dotnet
|
||||||
**1)**
|
**1)**
|
||||||
|
`sudo apt-get install git -y`
|
||||||
`sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF`
|
|
||||||
`echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list`
|
|
||||||
`sudo apt-get update`
|
|
||||||
|
|
||||||
Note if the command is not being initiated, hit **Enter**
|
Note if the command is not being initiated, hit **Enter**
|
||||||
|
|
||||||
|
Go to [this link](https://www.microsoft.com/net/core#ubuntu) provided by microsoft for instructions on how to get the most up to date version of the dotnet core sdk!
|
||||||
|
Make sure that you're on the correct page for your distribution of linux as the guides are different for the various distributions
|
||||||
|
|
||||||
|
We'll go over the steps here for Ubuntu 16.04 anyway (these will **only** work on Ubuntu 16.04), accurate as of 16/10/2016
|
||||||
|
|
||||||
**2)**
|
**2)**
|
||||||
|
```
|
||||||
|
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
|
||||||
|
|
||||||
`echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo
|
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
|
||||||
tee -a /etc/apt/sources.list.d/mono-xamarin.list`
|
|
||||||
|
|
||||||
####Mono on Debian 8 and later
|
sudo apt-get update && sudo apt-get install dotnet-dev-1.0.0-preview2-003131 -y
|
||||||
**2.5)**
|
```
|
||||||
|
|
||||||
`echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo
|
####Installing Opus Voice Codec and libsodium
|
||||||
tee -a /etc/apt/sources.list.d/mono-xamarin.list`
|
|
||||||
|
|
||||||
####Mono on CentOS 7, Fedora 19 (and later) and later
|
|
||||||
**2.6)**
|
|
||||||
|
|
||||||
`yum install yum-util`
|
|
||||||
`rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"`
|
|
||||||
`yum-config-manager --add-repo http://download.mono-project.com/repo/centos/`
|
|
||||||
|
|
||||||
####Mono Devel
|
|
||||||
**3)**
|
**3)**
|
||||||
|
`sudo apt-get install libopus0 opus-tools libopus-dev libsodium-dev -y`
|
||||||
`apt-get install mono-devel`
|
|
||||||
|
|
||||||
**Type** `y` **hit Enter**
|
|
||||||
|
|
||||||
####Mono Fix
|
|
||||||
**In case you are having issues with Mono where you get a random string and the bot won't run, do this:**
|
|
||||||
|
|
||||||
`sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF`
|
|
||||||
`echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list`
|
|
||||||
`apt-get install ca-certificates-mono`
|
|
||||||
`mozroots --import --sync`
|
|
||||||
|
|
||||||
####Installing Opus Voice Codec
|
|
||||||
**4)**
|
|
||||||
`sudo apt-get install libopus0 opus-tools`
|
|
||||||
|
|
||||||
**Type** `y` **hit Enter**
|
|
||||||
|
|
||||||
**5)**
|
|
||||||
`sudo apt-get install libopus-dev`
|
|
||||||
|
|
||||||
####FFMPEG
|
####FFMPEG
|
||||||
|
**4)**
|
||||||
|
`apt-get install ffmpeg -y`
|
||||||
|
|
||||||
**6)**
|
NOTE: if its "not installing" then, follow the guide here: [FFMPEG Help Guide](http://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/)
|
||||||
`apt-get install ffmpeg`
|
|
||||||
|
|
||||||
**Type** `y` **hit Enter**
|
|
||||||
|
|
||||||
NOTE: if its "not installing" then, follow the guide here: [FFMPEG Help Guide][FFMPEG Help Guide]
|
|
||||||
|
|
||||||
**All you need to do, if you are running UBUNTU 14.04 is initiate these:**
|
|
||||||
|
|
||||||
`sudo add-apt-repository ppa:mc3man/trusty-media`
|
|
||||||
`sudo apt-get update`
|
|
||||||
`sudo apt-get dist-upgrade`
|
|
||||||
|
|
||||||
|
**If you are running UBUNTU 14.04, you must run these first:**
|
||||||
|
```
|
||||||
|
sudo add-apt-repository ppa:mc3man/trusty-media
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get dist-upgrade
|
||||||
|
```
|
||||||
*Before executing* `sudo apt-get install ffmpeg`
|
*Before executing* `sudo apt-get install ffmpeg`
|
||||||
|
|
||||||
**If you are running Debian 8 Jessie, please, follow these steps:**
|
**If you are running Debian 8 Jessie, please, follow these steps:**
|
||||||
@ -100,76 +66,48 @@ NOTE: if its "not installing" then, follow the guide here: [FFMPEG Help Guide][F
|
|||||||
|
|
||||||
In case you are not able to install it with installer ^up there, follow these steps:
|
In case you are not able to install it with installer ^up there, follow these steps:
|
||||||
|
|
||||||
`sudo apt-get update`
|
```
|
||||||
`echo "deb http://ftp.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/debian-backports.list`
|
sudo apt-get update
|
||||||
`sudo apt-get update`
|
echo "deb http://ftp.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/debian-backports.list
|
||||||
`sudo apt-get install ffmpeg -y`
|
sudo apt-get update && sudo apt-get install ffmpeg -y`
|
||||||
|
```
|
||||||
|
|
||||||
####Uncomplicated Firewall UFW
|
####Uncomplicated Firewall UFW
|
||||||
|
|
||||||
**7)**
|
**5)**
|
||||||
`apt-get install ufw`
|
`apt-get install ufw`
|
||||||
|
|
||||||
**it is most likely to have it already installed so if you see it is already installed, check with following command, and/or enable it**
|
**It is likely to have been pre-installed so if you see that it is installed, check it works with the following command, and/or enable it**
|
||||||
|
|
||||||
**8)**
|
**6)**
|
||||||
`ufw status`
|
`ufw status`
|
||||||
|
|
||||||
**9)**
|
**7)**
|
||||||
`ufw enable`
|
`ufw enable`
|
||||||
|
|
||||||
**Type** `y` **hit Enter**
|
**Type** `y` ** and hit Enter**
|
||||||
|
|
||||||
**10)**
|
**8)**
|
||||||
`sudo ufw allow ssh`
|
`sudo ufw allow ssh`
|
||||||
|
|
||||||
####Installing Unzip
|
|
||||||
**11)**
|
|
||||||
`apt-get install unzip`
|
|
||||||
|
|
||||||
####Installing TMUX
|
####Installing TMUX
|
||||||
|
**9)**
|
||||||
|
`sudo apt-get install tmux -y`
|
||||||
|
|
||||||
|
####Getting NadekoBot
|
||||||
|
|
||||||
|
**10)**
|
||||||
|
`git clone -b 1.0 --recursive https://github.com/Kwoth/NadekoBot.git`
|
||||||
|
|
||||||
|
####Building NadekoBot
|
||||||
|
**11)** `cd /NadekoBot/discord.net/src/Discord.Net`
|
||||||
|
`dotnet restore && dotnet build --configuration Release`
|
||||||
|
|
||||||
**12)**
|
**12)**
|
||||||
`apt-get install tmux`
|
`cd ../Discord.Net.Commands/ && dotnet restore && dotnet build --configuration Release`
|
||||||
|
|
||||||
**Type** `y` **hit Enter**
|
|
||||||
|
|
||||||
####Importing Discord certs
|
|
||||||
**13)**
|
**13)**
|
||||||
`certmgr -ssl https://discordapp.com`
|
`cd ../../../src/NadekoBot/ && dotnet restore && dotnet build --configuration Release`
|
||||||
**14)**
|
|
||||||
`certmgr -ssl https://gateway.discord.gg`
|
|
||||||
|
|
||||||
Type `yes` and hit Enter **(three times - as it will ask for three times)**
|
|
||||||
|
|
||||||
####Creating Nadeko folder
|
|
||||||
**15)**
|
|
||||||
Create a new folder “nadeko” or anything you prefer
|
|
||||||
|
|
||||||
`mkdir nadeko`
|
|
||||||
|
|
||||||
**16)**
|
|
||||||
Move to “nadeko” folder (note `cd --` to go back the directory)
|
|
||||||
|
|
||||||
`cd nadeko`
|
|
||||||
|
|
||||||
####Getting NadekoBot from Releases
|
|
||||||
|
|
||||||
Go to this link: [Releases][Releases] and **copy the zip file address** of the lalest version available,
|
|
||||||
it should look like `https://github.com/Kwoth/NadekoBot/releases/download/vx.xx/NadekoBot.vx.x.zip`
|
|
||||||
|
|
||||||
**17)**
|
|
||||||
Get the correct link, type `wget`, then *paste the link*, then hit **Enter**.
|
|
||||||
|
|
||||||
`wget https://github.com/Kwoth/NadekoBot/releases/download/vx.xx/NadekoBot.vx.x.zip`
|
|
||||||
|
|
||||||
**^Do not copy-paste it**
|
|
||||||
|
|
||||||
**18)**
|
|
||||||
Now we need to `unzip` the downloaded zip file and to do that, type the file name as it showed in your screen or just copy from the screen, should be like ` NadekoBot.vx.x.zip`
|
|
||||||
|
|
||||||
`unzip NadekoBot.vx.x.zip`
|
|
||||||
|
|
||||||
**^Do not copy-paste it**
|
|
||||||
|
|
||||||
####Setting up NadekoBot
|
####Setting up NadekoBot
|
||||||
|
|
||||||
@ -181,44 +119,42 @@ Now we need to `unzip` the downloaded zip file and to do that, type the file nam
|
|||||||
- In **Username:** type `root`
|
- In **Username:** type `root`
|
||||||
- In **Password:** type `the new root password (you changed at the start)`
|
- In **Password:** type `the new root password (you changed at the start)`
|
||||||
- Click on **Connect**
|
- Click on **Connect**
|
||||||
- It should show you the new folder you created.
|
- It should show you the NadekoBot folder which was created by git earlier
|
||||||
- Open it.
|
- Open that folder, then open the `src` folder, followed by another `NadekoBot` folder and you should see `credentials_example.json` here
|
||||||
|
|
||||||
####Renaming Credentials.json
|
####Renaming Credentials.json
|
||||||
|
|
||||||
- Copy the `credentials_example.json` to desktop
|
- Copy the `credentials_example.json` to desktop
|
||||||
- EDIT it as it is guided here: [Setting up Credentials.json](Windows Guide.md#setting-up-credentialsjson-file)
|
- EDIT it as it is guided here: [Setting up Credentials.json](http://nadekobot.readthedocs.io/en/1.0/guides/Windows%20Guide/#setting-up-credentialsjson-file)
|
||||||
- Read here how to [Create DiscordBot application](https://github.com/miraai/NadekoBot/blob/dev/docs/guides/Windows%20Guide.md#creating-discordbot-application)
|
- Read here how to [create a DiscordBot application](http://nadekobot.readthedocs.io/en/1.0/guides/Windows%20Guide/#creating-discordbot-application)
|
||||||
- Rename it to `credentials.json` and paste/put it back in the folder. `(Yes, using CyberDuck)`
|
- Rename it to `credentials.json` and paste/put it back in the folder. `(Yes, using CyberDuck)`
|
||||||
- You should see two files `credentials_example.json` and `credentials.json`
|
- You should see two files `credentials_example.json` and `credentials.json`
|
||||||
- Also if you already have nadeko setup and have `credentials.json`, `config.json`, `nadekobot.sqlite`, and `"permissions" folder`, you can just copy and paste it to the Droplets folder using CyberDuck.
|
- Also if you already have nadeko setup and have `credentials.json` and `NadekoBot.db`, you can just copy and paste the `credentials.json` to `NadekoBot/src/NadekoBot` and `NadekoBot.db` to `NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.0/data` using CyberDuck.
|
||||||
|
|
||||||
####Running NadekoBot
|
####Running NadekoBot
|
||||||
|
|
||||||
Go back to **PuTTY**, `(hope its still running xD)`
|
Go back to **PuTTY**, `(hope its still running xD)`
|
||||||
|
|
||||||
**19)**
|
**14)**
|
||||||
Type/ Copy and hit **Enter**.
|
Type/ Copy and hit **Enter**.
|
||||||
|
|
||||||
`tmux new -s nadeko`
|
`tmux new -s nadeko`
|
||||||
|
`cd NadekoBot/src/NadekoBot/`
|
||||||
|
**^this will create a new session named “nadeko”** *(you can replace “nadeko” with anything you prefer and remember its your session name)* so you can run the bot in background without having to keep running PuTTY in the background.
|
||||||
|
|
||||||
**^this will create a new session named “nadeko”** `(you can replace “nadeko” with anything you prefer and remember
|
**15)**
|
||||||
its your session name) so you can run the bot in background without having to keep running PuTTY in the background.`
|
`dotnet run --configuration Release`
|
||||||
|
|
||||||
`cd nadeko`
|
|
||||||
|
|
||||||
**20)**
|
|
||||||
`mono NadekoBot.exe`
|
|
||||||
|
|
||||||
**CHECK THE BOT IN DISCORD, IF EVERYTHING IS WORKING**
|
**CHECK THE BOT IN DISCORD, IF EVERYTHING IS WORKING**
|
||||||
|
|
||||||
####Setting up Nadeko Music
|
####Setting up Nadeko Music
|
||||||
|
|
||||||
For how to set up Nadeko for music and Google API Keys, follow [Setting up NadekoBot for Music](Windows Guide.md#setting-up-nadekobot-for-music)
|
For how to set up Nadeko for music and Google API Keys, follow [Setting up NadekoBot for Music](http://nadekobot.readthedocs.io/en/1.0/guides/Windows%20Guide/#setting-up-nadekobot-for-music)
|
||||||
|
|
||||||
Now time to **move bot to background** and to do that, press **CTRL+B+D** (this will detach the nadeko session using TMUX), and you can finally close PuTTY now.
|
Now time to **move bot to background** and to do that, press **CTRL+B+D** (this will detach the nadeko session using TMUX), and you can finally close PuTTY now.
|
||||||
|
|
||||||
Copy your CLIENT ID (that's in the same Developer page where you brought your token) and replace `12345678` in this link: `https://discordapp.com/oauth2/authorize?client_id=12345678&scope=bot&permissions=66186303` with it. Go to that link and you will be able to add your bot to your server.
|
Copy your CLIENT ID (In the same Developer page where you got your token!) and replace `12345678` in this link: `https://discordapp.com/oauth2/authorize?client_id=12345678&scope=bot&permissions=66186303` with it.
|
||||||
|
Go to that link and you will be able to add your bot to your server.
|
||||||
|
|
||||||
**NOW YOU HAVE YOUR OWN NADEKO BOT** `Thanks to Kwoth <3`
|
**NOW YOU HAVE YOUR OWN NADEKO BOT** `Thanks to Kwoth <3`
|
||||||
|
|
||||||
@ -233,23 +169,12 @@ Open **PuTTY** and login as you have before, type `reboot` and hit Enter.
|
|||||||
|
|
||||||
####Updating Nadeko
|
####Updating Nadeko
|
||||||
|
|
||||||
**FOLLOW THESE STEPS SERIALLY**
|
- Make sure the bot is **not** running
|
||||||
|
- Connect to the terminal
|
||||||
- **-16**
|
- `cd NadekoBot`
|
||||||
- **-17**
|
- `git init && git pull`
|
||||||
- **-18**
|
- Run the bot again as normal, and you've updated!
|
||||||
- **-19**
|
|
||||||
- **-20**
|
|
||||||
|
|
||||||
HIT **CTRL+B+D** and close **PuTTY**
|
HIT **CTRL+B+D** and close **PuTTY**
|
||||||
|
|
||||||
`IF YOU FACE ANY TROUBLE ANYWHERE IN THE GUIDE JUST FIND US IN NADEKO'S DISCORD SERVER`
|
*IF YOU FACE ANY TROUBLE ANYWHERE IN THE GUIDE JUST FIND US IN [NADEKO'S DISCORD SERVER](https://discord.gg/0ehQwTK2RBjAxzEY)*
|
||||||
|
|
||||||
[PuTTY]: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
|
|
||||||
[CyberDuck]: https://cyberduck.io
|
|
||||||
[Linux Setup Video]: https://www.youtube.com/watch?v=icV4_WPqPQk&feature=youtu.be
|
|
||||||
[Releases]: https://github.com/Kwoth/NadekoBot/releases
|
|
||||||
[Readme]: https://github.com/Kwoth/NadekoBot/blob/master/README.md
|
|
||||||
[FFMPEG Help Guide]: http://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/
|
|
||||||
[Mono Source]: http://www.mono-project.com/docs/getting-started/install/linux/
|
|
||||||
[DigitalOcean]: http://m.do.co/c/46b4d3d44795/
|
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
### Setting Up NadekoBot on OSX
|
### Setting Up NadekoBot on OSX
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
- 1) [Homebrew][Homebrew]
|
- 1) [Homebrew][Homebrew]
|
||||||
- 2) Mono
|
- 2) Google Account
|
||||||
- 3) Google Account
|
- 3) Soundcloud Account (if you want soundcloud support)
|
||||||
- 4) Soundcloud Account (if you want soundcloud support)
|
- 4) Text Editor (TextWrangler, or equivalent) or outside editor such as [Atom][Atom]
|
||||||
- 5) Text Editor (TextWrangler, or equivalent) or outside editor such as [Atom][Atom]
|
|
||||||
|
|
||||||
####Installing Homebrew
|
####Installing Homebrew
|
||||||
|
|
||||||
@ -16,6 +15,7 @@ Run `brew update` to fetch the latest package data.
|
|||||||
brew install git
|
brew install git
|
||||||
brew install ffmpeg
|
brew install ffmpeg
|
||||||
brew update && brew upgrade ffmpeg
|
brew update && brew upgrade ffmpeg
|
||||||
|
brew install openssl
|
||||||
brew install opus
|
brew install opus
|
||||||
brew install opus-tools
|
brew install opus-tools
|
||||||
brew install opusfile
|
brew install opusfile
|
||||||
@ -24,6 +24,12 @@ brew install libsodium
|
|||||||
brew install tmux
|
brew install tmux
|
||||||
```
|
```
|
||||||
|
|
||||||
|
####Installing .NET Core SDK
|
||||||
|
- `ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/`
|
||||||
|
- `ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/`
|
||||||
|
- Download the .NET Core SDK, found [here.](https://go.microsoft.com/fwlink/?LinkID=827526)
|
||||||
|
- Open the `.pkg` and install it.
|
||||||
|
|
||||||
####Check your `FFMPEG`
|
####Check your `FFMPEG`
|
||||||
|
|
||||||
**In case your `FFMPEG` wasnt installed properly**
|
**In case your `FFMPEG` wasnt installed properly**
|
||||||
@ -42,108 +48,90 @@ Xcode command line tools. You will do this in Terminal.app by running the follow
|
|||||||
|
|
||||||
A dialog box will open asking if you want to install `xcode-select`. Select install and finish the installation.
|
A dialog box will open asking if you want to install `xcode-select`. Select install and finish the installation.
|
||||||
|
|
||||||
####Installing Mono
|
####Downloading and building Nadeko
|
||||||
- Building Mono dependencies:
|
- `cd ~`
|
||||||
|
- `git clone -b 1.0 --recursive https://github.com/Kwoth/NadekoBot.git`
|
||||||
`brew install autoconf automake libtool pkg-config`
|
- `cd /NadekoBot/discord.net/src/Discord.Net`
|
||||||
|
- `dotnet restore && dotnet build --configuration Release`
|
||||||
- Building Mono from Source:
|
- `cd ../Discord.Net.Commands/`
|
||||||
|
- `dotnet restore && dotnet build --configuration Release`
|
||||||
To build Mono from a Git Source Code checkout, you will want to have the official Mono installed on the system, as the build requires a working C# compiler to run. Once you do this, run the following commands, remember to replace PREFIX with your installation prefix that you selected:
|
- `cd ../../../src/NadekoBot/`
|
||||||
|
- `dotnet restore && dotnet build --configuration Release`
|
||||||
```
|
- `dotnet run --configuration Release`
|
||||||
PATH=$PREFIX/bin:$PATH
|
- The above step **will** crash, giving you an error, which will say that `credentials_example.json` has been generated, we'll use this soon
|
||||||
git clone https://github.com/mono/mono.git
|
|
||||||
cd mono
|
|
||||||
CC='cc -m32' ./autogen.sh --prefix=$PREFIX --disable-nls --build=i386-apple-darwin11.2.0
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
```
|
|
||||||
To build Mono in 64 bit mode instead use this to configure the build:
|
|
||||||
|
|
||||||
`./autogen.sh --prefix=$PREFIX --disable-nls`
|
|
||||||
|
|
||||||
####Nadeko Setup
|
|
||||||
- Create a new folder and name it `Nadeko`.
|
|
||||||
- Move to our `Nadeko` folder
|
|
||||||
|
|
||||||
`cd Nadeko`
|
|
||||||
- Go to [Releases][Releases] and copy the zip file address of the lalest version available, it should look like `https://github.com/Kwoth/NadekoBot/releases/download/vx.xx/NadekoBot.vx.x.zip`
|
|
||||||
- Get the correct link, type `curl -O` and past the link, then hit `Enter`
|
|
||||||
- It should be something like this:
|
|
||||||
|
|
||||||
`curl -O https://github.com/Kwoth/NadekoBot/releases/download/vx.xx/NadekoBot.vx.x.zip`
|
|
||||||
|
|
||||||
^ do not copy-paste it
|
|
||||||
|
|
||||||
- Unzip the downloaded file in our `Nadeko` folder
|
|
||||||
|
|
||||||
####Creating DiscordBot application
|
####Creating DiscordBot application
|
||||||
- Go to [DiscordApp][DiscordApp].
|
- Go to [the Discord developer application page.][DiscordApp]
|
||||||
- Log in with your Discord account.
|
- Log in with your Discord account.
|
||||||
- On the left side, press `New Application`.
|
- On the left side, press `New Application`.
|
||||||
- Fill out the `App Name` (your bot's name, in this case), put the image you want, and add an app description(optional).
|
- Fill out the `App Name` (your bot's name, in this case), put the image you want, and add an app description(optional).
|
||||||
- Create the application.
|
- Create the application.
|
||||||
- Once the application is created, click on `Create a Bot User` and confirm it.
|
- Click on `Create a Bot User` and confirm it.
|
||||||
- Keep this window open for now.
|
- Keep this window open for now.
|
||||||
|
|
||||||
####Setting up Credentials.json file
|
####Setting up Credentials.json file
|
||||||
|
- Open up the `NadekoBot` folder, which should be in your home directory, then the `src` folder and then the additonal `NadekoBot` folder.
|
||||||
- In our `NadekoBot` folder you should have `.json` file named `credentials_example.json`. (Note: If you do not see a **.json** after `credentials_example.json `, do not add the `**.json**`. You most likely have `"Hide file extensions"` enabled.)
|
- In our `NadekoBot` folder you should have `.json` file named `credentials_example.json`. (Note: If you do not see a **.json** after `credentials_example.json `, do not add the `**.json**`. You most likely have `"Hide file extensions"` enabled.)
|
||||||
- Rename `credentials_example.json` to `credentials.json`.
|
- Rename `credentials_example.json` to `credentials.json`.
|
||||||
- Open the file with your Text editor.
|
- Open the file with your Text editor.
|
||||||
- In there you will see fields like `Token`, `ClientId`, `BotId`, `OwnerIDs`.
|
- In your [applications page][DiscordApp] (the window you were asked to keep open earlier), under the `Bot User` section, you will see `Token:click to reveal`, click to reveal the token.
|
||||||
- In your [DiscordApp][DiscordApp], under `Bot User` part, you will see the `Token:click to reveal` part, click to reveal it.
|
- Copy your bot's token, and on the `"Token"` line of your `credentials.json`, replace `null` with your bot token and put quotation marks before and after the token, like so `"Example.Token"`
|
||||||
- Copy your bot's token, and put it between `" "` in your `credentials.json` file.
|
- Copy the `Client ID` on the page and replace the null part of the `ClientId` line with it, and put quotation marks before and after, like earlier.
|
||||||
- Copy `Client ID` and replace it with the example one in your `credentials.json` in `Client ID` **and** `BotID` field.
|
- Again, copy the same `Client ID` and replace the null part of the `BotId` line with it, and do **not** put quotation marks before and after the ID.
|
||||||
- Save your `credentials.json` but keep it open. We need to put your `User ID` and owner.
|
- Save your `credentials.json` but keep it open. We need to add your `User ID` as one of the `OwnerIds` shortly.
|
||||||
|
|
||||||
####Running NadekoBot
|
####Running NadekoBot
|
||||||
- Copy/past and hit `Enter`
|
|
||||||
|
|
||||||
`tmux new -s nadeko`
|
`tmux new -s nadeko`
|
||||||
|
|
||||||
^this will create a new session named “nadeko” `(you can replace “nadeko” with anything you prefer and remember its your
|
^this will create a new session named “nadeko”
|
||||||
session name)`.
|
`(you can replace “nadeko” with anything you prefer and remember its your session name)`.
|
||||||
|
|
||||||
or if you want to use Screen, run:
|
or if you want to use Screen, run:
|
||||||
|
|
||||||
`screen -S nadeko`
|
`screen -S nadeko`
|
||||||
|
|
||||||
^this will create a new screen named “nadeko” `(you can replace “nadeko” with anything you prefer and remember its your
|
^this will create a new screen named “nadeko”
|
||||||
screen name)`.
|
`(you can replace “nadeko” with anything you prefer and remember its your screen name)`.
|
||||||
|
|
||||||
`cd nadeko`
|
`cd ~/NadekoBot/src/NadekoBot/`
|
||||||
|
|
||||||
- Start NadekoBot.exe using Mono:
|
- Start Nadeko using dotnet:
|
||||||
|
|
||||||
`mono NadekoBot.exe`
|
`dotnet run --configuration Release`
|
||||||
|
|
||||||
CHECK THE BOT IN DISCORD, IF EVERYTHING IS WORKING
|
CHECK THE BOT IN DISCORD, IF EVERYTHING IS WORKING
|
||||||
|
|
||||||
Now time to move bot to background and to do that, press CTRL+B+D (this will ditach the nadeko session using TMUX)
|
Now time to move bot to background and to do that, press CTRL+B+D (this will ditach the nadeko session using TMUX)
|
||||||
|
|
||||||
*if you used Screen press CTRL+A+D (this will detach the nadeko screen)*
|
*If you used Screen press CTRL+A+D (this will detach the nadeko screen)*
|
||||||
|
|
||||||
####Inviting your bot to your server - [Invite Guide][Invite Guide]
|
####Inviting your bot to your server - [Invite Guide][Invite Guide]
|
||||||
- Create a new server in Discord.
|
- Create a new server in Discord.
|
||||||
- Copy your `Client ID` from your [DiscordApp][DiscordApp].
|
- Copy your `Client ID` from your [Discord bot applications page.][DiscordApp]
|
||||||
- Replace `12345678` in this link `https://discordapp.com/oauth2/authorize?client_id=12345678&scope=bot&permissions=66186303` with your `Client ID`.
|
- Replace the `12345678` in this link `https://discordapp.com/oauth2/authorize?client_id=12345678&scope=bot&permissions=66186303` with your `Client ID`.
|
||||||
- Link should look like this: `https://discordapp.com/oauth2/authorize?client_id=**YOUR_CLENT_ID**&scope=bot&permissions=66186303`.
|
- Your edited link should look like this: `https://discordapp.com/oauth2/authorize?client_id=**YOUR_CLENT_ID**&scope=bot&permissions=66186303`.
|
||||||
- Go to newly created link and pick the server we created, and click `Authorize`.
|
- Go to newly created link and pick the server we created, and click `Authorize`.
|
||||||
- Bot should be added to your server.
|
- Bot should be added to your server.
|
||||||
|
|
||||||
####Setting up OwnerIds
|
####Setting up OwnerIds
|
||||||
- In the server where your bot is, in a text channel, type `.uid`
|
- In the server where your bot is, in a text channel, type `.uid`
|
||||||
- Your `User ID` should show, copy it.
|
- Your `User ID` should show, copy it.
|
||||||
- Close `NadekoBot.exe`
|
- Stop NadekoBot from running by presing `Ctrl + C` in the terminal that the bot is running in
|
||||||
- Replace your `User ID` in the `credentials.json` between `[ ]` and save the changes.
|
- Replace the `null` section on the `OwnerIds` line with your user ID shown earlier and put a square bracket around each end of the ID like so, `[105635576866156544]`
|
||||||
- Run `NadekoBot.exe` again.
|
- Run Nadeko again, as guided above.
|
||||||
- Now you are the bot owner.
|
- If done correctly, you are now the bot owner.
|
||||||
- You can add `User IDs` from the other users by separating IDs with a comma if you want to have more owners.
|
- You can add multiple owner IDs by seperating them with a comma within the square brackets.
|
||||||
|
|
||||||
####Setting NadekoBot Music
|
####Setting NadekoBot Music
|
||||||
|
|
||||||
For Music Setup and API keys check [Setting up NadekoBot for Music](Windows Guide.md#setting-up-nadekobot-for-music) and [JSON Explanations](JSON Explanations.md).
|
For Music Setup and API keys check [Setting up NadekoBot for Music](http://nadekobot.readthedocs.io/en/1.0/guides/Windows%20Guide/#setting-up-nadekobot-for-music) and [JSON Explanations](http://nadekobot.readthedocs.io/en/1.0/JSON%20Explanations/).
|
||||||
|
|
||||||
|
####Updating Nadeko
|
||||||
|
|
||||||
|
Nadeko is really easy to update as of version 1.0! just copy and paste the command below to update Nadeko to the latest version
|
||||||
|
|
||||||
|
`cd ~/NadekoBot/ && git init && git pull`
|
||||||
|
|
||||||
####Some more Info - TMUX
|
####Some more Info - TMUX
|
||||||
|
|
||||||
@ -158,8 +146,6 @@ For Music Setup and API keys check [Setting up NadekoBot for Music](Windows Guid
|
|||||||
- If you want to kill the NadekoBot screen, type `screen -X -S nadeko quit`
|
- If you want to kill the NadekoBot screen, type `screen -X -S nadeko quit`
|
||||||
|
|
||||||
[Homebrew]: http://brew.sh/
|
[Homebrew]: http://brew.sh/
|
||||||
[Mono]: http://www.mono-project.com/docs/compiling-mono/mac/
|
|
||||||
[Releases]: https://github.com/Kwoth/NadekoBot/releases
|
|
||||||
[DiscordApp]: https://discordapp.com/developers/applications/me
|
[DiscordApp]: https://discordapp.com/developers/applications/me
|
||||||
[Atom]: https://atom.io/
|
[Atom]: https://atom.io/
|
||||||
[Invite Guide]: http://discord.kongslien.net/guide.html
|
[Invite Guide]: http://discord.kongslien.net/guide.html
|
||||||
|
10
docs/guides/Upgrading Guide.md
Normal file
10
docs/guides/Upgrading Guide.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
###Upgrading Nadeko from an older release
|
||||||
|
|
||||||
|
- Navigate to your old nadeko folder
|
||||||
|
- Follow the correct install process for your operating system, linked on the left hand side. Nadeko has some new dependencies, so make sure you get these as guided!
|
||||||
|
- For upgrading, you can use your old credentials file without any issues and most data can also be migrated
|
||||||
|
- Copy both the data folder and `credentials.json` from your old Nadeko installation, to the following folder
|
||||||
|
- `NadekoBot\src\NadekoBot` - This may ask if you want to overwrite some files, this is perfectly fine to do.
|
||||||
|
- Now launch the new Nadeko as the guide describes - it should now start.
|
||||||
|
- In any channel, run the `.migratedata` command - nadeko will now attempt to migrate your old data to nadeko's new storage system
|
||||||
|
- Your data should now have been migrated succesfully, restart nadeko and everything should be working as expected
|
@ -4,73 +4,68 @@ ________________________________________________________________________________
|
|||||||
|
|
||||||
### Setting Up NadekoBot on Windows
|
### Setting Up NadekoBot on Windows
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
- 1) [NET Framework][NET Framework] 4.5.2 (or 4.6)
|
- 1) [.NET Core SDK][.NET Core SDK]
|
||||||
- 2) [FFMPEG][FFMPEG]
|
- 2) [Git][Git]
|
||||||
- 3) Google Account
|
- 3) [FFMPEG][FFMPEG]
|
||||||
- 4) Soundcloud Account (if you want soundcloud support)
|
- 4) Google Account
|
||||||
- 5) [7zip][7zip] (or whatever you are using, WinRar)
|
- 5) Soundcloud Account (if you want soundcloud support)
|
||||||
- 6) [Notepad++][Notepad++]
|
- 6) [7zip][7zip] (or whatever you are using, WinRar)
|
||||||
|
- 7) [Notepad++][Notepad++]
|
||||||
|
- 8) Windows 8 or newer
|
||||||
|
|
||||||
####Guide
|
####Guide
|
||||||
|
- Make sure you have installed both [Git][Git] and the [.NET Core SDK][.NET Core SDK].
|
||||||
- Create a folder, name it `Nadeko`.
|
- Create a folder somewhere and name it `Nadeko`.
|
||||||
- Head to [Updater Releases Page][Updater] and download `WINDOWS.-.nadeupdater.7z`.
|
- Head to the [Windows Installer releases page][WinInstaller] and download the latest source code zip.
|
||||||
- Copy `WINDOWS.-.nadeupdater.7z` to the `Nadeko` (folder we created before) and extract everything.
|
- Extract the contents of the zip you just downloaded to the `Nadeko` folder that we created earlier.
|
||||||
- You will see a file `NadekoUpdater.bat ` and a folder `publish ` after extraction.
|
- You will see a few files, most importantly, `NadekoInstaller.bat ` after extraction (You may not see the `.bat` part of the filename).
|
||||||
- Run/Launch/Open the file `NadekoUpdater.bat ` and you will see it running in cmd.exe asking you with **3 options** *1-3*.
|
- Run/Launch/Open `NadekoInstaller.bat ` and you will see it running in the command prompt.
|
||||||
- 1) Stable release - current stable release, but might not contain all the newest Nadeko updates.
|
- Wait a while for the file to finish installing, it'll say when it's done in the command prompt.
|
||||||
- 2) Newest release - release with all features/upgrades.
|
- You should now have a new folder named `NadekoBot` inside the `Nadeko` folder we previously created.
|
||||||
- 3) Exit
|
- You can safely delete the `NadekoInstall_Temp` folder if you so choose.
|
||||||
- Press `2` on your keyboard and hit `Enter`. Type `y` and hit `Enter` again. Downloading might take a while, so just be patient and wait. When download is done, press `3` on your keyboard and close the updater.
|
|
||||||
- You should have a new folder named `NadekoBot` inside the `Nadeko` folder we previously created.
|
|
||||||
|
|
||||||
####Creating DiscordBot application
|
####Creating DiscordBot application
|
||||||
- Go to [DiscordApp][DiscordApp].
|
- Go to [the Discord developer application page][DiscordApp].
|
||||||
- Log in with your Discord account.
|
- Log in with your Discord account.
|
||||||
- On the left side, press `New Application`.
|
- On the left side, press `New Application`.
|
||||||
- Fill out the `App Name` (your bot's name, in this case), put the image you want, and add an app description(optional).
|
- Fill out the `App Name` (your bot's name, in this case), put the image you want, and add an app description(optional).
|
||||||
- Create the application.
|
- Create the application.
|
||||||
- Once the application is created, click on `Create a Bot User` and confirm it.
|
- Click on `Create a Bot User` and confirm that you do want to add a bot to this app.
|
||||||
- Keep this window open for now.
|
- Keep this window open for now.
|
||||||
|
|
||||||
####Setting up Credentials.json file
|
####Setting up Credentials.json file
|
||||||
- In our `NadekoBot` folder you should have `.json` file named `credentials_example.json`. (Note: If you do not see a **.json** after `credentials_example.json `, do not add the `**.json**`. You most likely have `"Hide file extensions"` enabled.)
|
- In our `NadekoBot` folder you should see a `src` folder, then *another* `NadekoBot` folder, in this final folder, you should see a `.json` file named `credentials_example.json`. (Note: If you do not see a **.json** after `credentials_example.json `, do not add the `**.json**`. You most likely have `"Hide file extensions"` enabled.)
|
||||||
- Rename `credentials_example.json` to `credentials.json`.
|
- Rename `credentials_example.json` to `credentials.json`.
|
||||||
- Open the file with your [Notepad++][Notepad++].
|
- Open the file with [Notepad++][Notepad++].
|
||||||
- In there you will see fields like `Token`, `ClientId`, `BotId`, `OwnerIDs`.
|
- In there you will see fields such as `Token`, `ClientId`, `BotId` and `OwnerIDs`.
|
||||||
- In your [DiscordApp][DiscordApp], under `Bot User` part, you will see the `Token:click to reveal` part, click to reveal it.
|
- In your [applications page][DiscordApp] (the window you were asked to keep open earlier), under the `Bot User` section, you will see `Token:click to reveal`, click to reveal the token.
|
||||||
- Copy your bot's token, and put it between `" "` in your `credentials.json` file.
|
- Copy your bot's token, and on the `"Token"` line of your `credentials.json`, paste your bot token between the quotation marks.
|
||||||
- Copy `Client ID` and replace it with the example one in your `credentials.json` in `Client ID` **and** `BotID` field.
|
- Copy the `Client ID` on the page and replace the `12312123` part of the `ClientId` line with it.
|
||||||
- Save your `credentials.json` but keep it open. We need to put your `User ID` and owner.
|
- Again, copy the same `Client ID` and replace the `null` part of the `BotId` line with it.
|
||||||
|
- Save your `credentials.json` but keep it open. We need to add your `User ID` as one of the `OwnerIds` shortly.
|
||||||
|
|
||||||
####Inviting your bot to your server
|
####Inviting your bot to your server
|
||||||
- [Invite Guide][Invite Guide]
|
- [Invite Guide][Invite Guide]
|
||||||
- Create a new server in Discord.
|
- Create a new server in Discord.
|
||||||
- Copy your `Client ID` from your [DiscordApp][DiscordApp].
|
- Copy your `Client ID` from your [applications page][DiscordApp].
|
||||||
- Replace `12345678` in this link `https://discordapp.com/oauth2/authorize?client_id=12345678&scope=bot&permissions=66186303` with your `Client ID`.
|
- Replace the `12345678` in this link `https://discordapp.com/oauth2/authorize?client_id=12345678&scope=bot&permissions=66186303` with your `Client ID`.
|
||||||
- Link should look like this: `https://discordapp.com/oauth2/authorize?client_id=**YOUR_CLENT_ID**&scope=bot&permissions=66186303`.
|
- The link should now look like this: `https://discordapp.com/oauth2/authorize?client_id=**YOUR_CLENT_ID**&scope=bot&permissions=66186303`.
|
||||||
- Go to newly created link and pick the server we created, and click `Authorize`.
|
- Go to the newly created link and pick the server we created, and click `Authorize`.
|
||||||
- Bot should be added to your server.
|
- The bot should have been added to your new server.
|
||||||
|
|
||||||
####Starting the bot
|
####Starting the bot
|
||||||
- Enter your `NadekoBot` folder that should be (hopefully) in your `Nadeko` folder.
|
- Go to the folder which you extracted the zip to earlier, and run the `NadekoRun.bat` file
|
||||||
- Run `NadekoBot.exe` (Note: There is `NadekoBot.exe` and `NadekoBot.exe.config`, dont run the second one)
|
- Your bot should now be online in the server we added her to.
|
||||||
- Your bot should now be online in the server we added him to.
|
- Note: Your bot will be offline in case you close the `NadekoBot` command prompt window.
|
||||||
- Note: Your bot will be offline in case you close `NadekoBot.exe`.
|
|
||||||
|
|
||||||
####Setting up OwnerIds
|
####Setting up OwnerIds
|
||||||
- In the server where your bot is, in a text channel, type `.uid`
|
- In the server where your bot is, in a text channel, type `.uid`
|
||||||
- Your `User ID` should show, copy it.
|
- Your `User ID` should show, copy it.
|
||||||
- Close `NadekoBot.exe`
|
- Close `NadekoBot`
|
||||||
- Replace your `User ID` in the `credentials.json` between `[ ]` and save the changes.
|
- Replace the `0` on the `OwnerIds` section with your user ID shown earlier.
|
||||||
- Run `NadekoBot.exe` again.
|
- Run `NadekoRun.bat` again.
|
||||||
- Now you are the bot owner.
|
- If done correctly, you are now the bot owner.
|
||||||
- You can add `User IDs` from the other users by separating IDs with a comma if you want to have more owners.
|
- You can add multiple owner IDs by seperating them with a comma within the square brackets.
|
||||||
|
|
||||||
`*Alternatively, you can download nadekobot from` [Releases][Releases] `and extract the zip yourself.
|
|
||||||
That is what updater does, except it makes it easier for you to update because it doesn't overwrite
|
|
||||||
important files.If you are downloading releases you will have to be careful about your config,
|
|
||||||
credentials, and other files you edited in order to preserve your data every time you update.`
|
|
||||||
|
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
@ -86,13 +81,13 @@ ________________________________________________________________________________
|
|||||||
- On the left tab, access `Credentials`. Click `Create Credentials` button. Click on `API Key`. A new window will appear with your `Google API key`.
|
- On the left tab, access `Credentials`. Click `Create Credentials` button. Click on `API Key`. A new window will appear with your `Google API key`.
|
||||||
- Copy the key.
|
- Copy the key.
|
||||||
- Open up `credentials.json`.
|
- Open up `credentials.json`.
|
||||||
- For `"GoogleAPIKey"`, fill in with the new key we copied.
|
- For `"GoogleAPIKey"`, replace `null` with the new key we copied and put quotation marks before and after the API key, like how the `Token` and `ClientId` should be set up.
|
||||||
- Follow these steps on how to setup Soundcloud API key:
|
- Follow these steps on how to setup Soundcloud API key:
|
||||||
- Go to [Soundcloud][Soundcloud].
|
- Go to [Soundcloud][Soundcloud].
|
||||||
- Enter a name for the app and create it.
|
- Enter a name for the app and create it.
|
||||||
- You will see a page with the title of your app, and a field labeled `Client ID`. Copy the ID.
|
- You will need to fill out an application form to request access to the Soundcloud API.
|
||||||
- In `credentials.json`, fill in `"SoundcloudClientID"` with the copied ID.
|
- All requests for an API key must go through the review process, where applications will be reviewed on a case by case basis, in line with Soundcloud API Terms of Use. If your application is successful, you will receive an API key.
|
||||||
- Restart your computer.
|
- **Restart your computer**.
|
||||||
|
|
||||||
####Manual `ffmpeg` setup
|
####Manual `ffmpeg` setup
|
||||||
**Do this step in case you were not able to install `ffmpeg` with the installer.**
|
**Do this step in case you were not able to install `ffmpeg` with the installer.**
|
||||||
@ -100,16 +95,16 @@ ________________________________________________________________________________
|
|||||||
- Create a folder named `ffmpeg` in your main Windows directory. We will use **C:\ffmpeg** (for our guide)
|
- Create a folder named `ffmpeg` in your main Windows directory. We will use **C:\ffmpeg** (for our guide)
|
||||||
- Download FFMPEG through the link https://ffmpeg.zeranoe.com/builds/ (download static build)
|
- Download FFMPEG through the link https://ffmpeg.zeranoe.com/builds/ (download static build)
|
||||||
- Extract it using `7zip` and place the folder `ffmpeg-xxxxx-git-xxxxx-xxxx-static` inside **C:\ffmpeg**
|
- Extract it using `7zip` and place the folder `ffmpeg-xxxxx-git-xxxxx-xxxx-static` inside **C:\ffmpeg**
|
||||||
- Before proceeding, check out this gif to set up `ffmpeg` PATH correctly http://i.imgur.com/aR5l1Hn.gif *(thanks to PooPeePants#7135)*
|
- Before proceeding, check out this gif to set up `ffmpeg` PATH correctly [http://i.imgur.com/aR5l1Hn.gif](http://i.imgur.com/aR5l1Hn.gif) *(thanks to PooPeePants#7135)*
|
||||||
- Go to My Computer, right click and select Properties. On the left tab, select Advanced System Settings. Under the Advanced tab, select Environmental Variables near the bottom. One of the variables should be called "Path". Add a semi-colon (;) to the end followed by your FFMPEG's **bin** install location (**for example C:\ffmpeg\ffmpeg-xxxxx-git-xxxxx-xxxx-static\bin**). Save and close.
|
- Go to My Computer, right click and select Properties. On the left tab, select Advanced System Settings. Under the Advanced tab, select Environmental Variables near the bottom. One of the variables should be called "Path". Add a semi-colon (;) to the end followed by your FFMPEG's **bin** install location (**for example C:\ffmpeg\ffmpeg-xxxxx-git-xxxxx-xxxx-static\bin**). Save and close.
|
||||||
- Setup your API keys as explained above.
|
- Setup your API keys as explained above.
|
||||||
- Restart your computer.
|
- Restart your computer.
|
||||||
|
|
||||||
[NET Framework]: https://www.microsoft.com/en-us/download/details.aspx?id=48130
|
[.NET Core SDK]: https://go.microsoft.com/fwlink/?LinkID=827524
|
||||||
[FFMPEG]: https://github.com/Soundofdarkness/FFMPEG-Installer
|
[Git]: https://git-scm.com/download/win
|
||||||
|
[WinInstaller]: https://github.com/fearnlj01/NadekoBotInstallerWin/releases
|
||||||
|
[FFMPEG]: https://github.com/Soundofdarkness/FFMPEG-Inst/releases
|
||||||
[7zip]: http://www.7-zip.org/download.html
|
[7zip]: http://www.7-zip.org/download.html
|
||||||
[Updater]: https://github.com/Kwoth/NadekoUpdater/releases
|
|
||||||
[Releases]: https://github.com/Kwoth/NadekoBot/releases
|
|
||||||
[DiscordApp]: https://discordapp.com/developers/applications/me
|
[DiscordApp]: https://discordapp.com/developers/applications/me
|
||||||
[Notepad++]: https://notepad-plus-plus.org/
|
[Notepad++]: https://notepad-plus-plus.org/
|
||||||
[Invite Guide]: http://discord.kongslien.net/guide.html
|
[Invite Guide]: http://discord.kongslien.net/guide.html
|
||||||
|
@ -8,6 +8,7 @@ pages:
|
|||||||
- Linux Guide: guides/Linux Guide.md
|
- Linux Guide: guides/Linux Guide.md
|
||||||
- OSX Guide: guides/OSX Guide.md
|
- OSX Guide: guides/OSX Guide.md
|
||||||
- Building from Source: guides/Building from Source.md
|
- Building from Source: guides/Building from Source.md
|
||||||
|
- Upgrading Guide: guides/Upgrading Guide.md
|
||||||
- Docker Guide: guides/Docker Guide.md
|
- Docker Guide: guides/Docker Guide.md
|
||||||
- Commands:
|
- Commands:
|
||||||
- Readme: Readme.md
|
- Readme: Readme.md
|
||||||
|
Loading…
Reference in New Issue
Block a user