Merge pull request #722 from samdivaio/patch-4

Guide improved
This commit is contained in:
Master Kwoth 2016-10-24 09:09:59 +02:00 committed by GitHub
commit 8dbd4e1775

View File

@ -97,20 +97,24 @@ sudo apt-get update && sudo apt-get install ffmpeg -y`
####Getting NadekoBot ####Getting NadekoBot
**10)** **10)**
- `cd ~` - `cd ~`
- `curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh` - `curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh`
*Skip steps 10.5-11.5 and continue to run the bot, if you see errors while running, do the below steps again.* *Skip steps 10.5-11.5 and continue to run the bot, if you see errors while running, do the steps (10.5-11.5) below:*
**10.5)** **10.5)**
- `cd ~ && git clone -b 1.0 --recursive https://github.com/Kwoth/NadekoBot.git` - `cd ~ && git clone -b 1.0 --recursive https://github.com/Kwoth/NadekoBot.git`
####Building NadekoBot ####Building NadekoBot
**11)** **11)**
- `cd ~/NadekoBot/ && dotnet restore && cd ~/NadekoBot/src/NadekoBot/ && dotnet build --configuration Release` - `cd ~/NadekoBot/ && dotnet restore && cd ~/NadekoBot/src/NadekoBot/ && dotnet build --configuration Release`
*if you see error, try:* *if you see error, try:*
**11.5)** **11.5)**
- `cd ~/NadekoBot/discord.net` - `cd ~/NadekoBot/discord.net`
- `dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json` - `dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json`
- `dotnet restore` - `dotnet restore`
@ -145,11 +149,13 @@ Go back to **PuTTY**, `(hope its still running xD)`
**12)** **12)**
`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 its your session name)* so you can run the bot in background without having to keep running PuTTY in the background.
**13)** **13)**
`dotnet run --configuration Release`
- `cd NadekoBot/src/NadekoBot/`
- `dotnet run --configuration Release`
**CHECK THE BOT IN DISCORD, IF EVERYTHING IS WORKING** **CHECK THE BOT IN DISCORD, IF EVERYTHING IS WORKING**