From e05aca0e83b77f7538928aa2409724e3ca5bb050 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 24 Oct 2016 05:32:11 +0530 Subject: [PATCH] =?UTF-8?q?More=20Magic=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guides/Linux Guide.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/guides/Linux Guide.md b/docs/guides/Linux Guide.md index 87775703..adf3e9c6 100644 --- a/docs/guides/Linux Guide.md +++ b/docs/guides/Linux Guide.md @@ -97,12 +97,26 @@ sudo apt-get update && sudo apt-get install ffmpeg -y` ####Getting NadekoBot **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` ####Building NadekoBot **11)** `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 @@ -130,8 +144,7 @@ sudo apt-get update && sudo apt-get install ffmpeg -y` Go back to **PuTTY**, `(hope its still running xD)` **12)** -Type/ Copy and hit **Enter**. - +(Type or Copy and hit **Enter**) `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.