More Magic

This commit is contained in:
samvaio 2016-10-24 05:32:11 +05:30 committed by GitHub
parent d7edb3de9d
commit e05aca0e83

View File

@ -97,12 +97,26 @@ sudo apt-get update && sudo apt-get install ffmpeg -y`
####Getting NadekoBot ####Getting NadekoBot
**10)** **10)**
`cd ~`
`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.*
**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:*
**11.5)**
`cd ~/NadekoBot/discord.net`
`dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json`
`dotnet restore`
`cd ~/NadekoBot/src/NadekoBot/`
`dotnet restore`
`dotnet build --configuration Release`
####Setting up NadekoBot ####Setting up NadekoBot
@ -130,8 +144,7 @@ sudo apt-get update && sudo apt-get install ffmpeg -y`
Go back to **PuTTY**, `(hope its still running xD)` Go back to **PuTTY**, `(hope its still running xD)`
**12)** **12)**
Type/ Copy and hit **Enter**. (Type or Copy and hit **Enter**)
`tmux new -s nadeko` `tmux new -s nadeko`
`cd NadekoBot/src/NadekoBot/` `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.