From 0bb68c7723b46ea6f83082eb2c3548e9e22865a8 Mon Sep 17 00:00:00 2001 From: Hokuto Chen Date: Tue, 21 Dec 2021 08:48:22 +0000 Subject: [PATCH 1/3] Update step 4 of "linux from source" to be more specific. --- docs/guides/linux-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/linux-guide.md b/docs/guides/linux-guide.md index af5c7e3f0..5d37c2f75 100644 --- a/docs/guides/linux-guide.md +++ b/docs/guides/linux-guide.md @@ -13,7 +13,7 @@ Open Terminal (if you're on an installation with a window manager) and navigate 1. Download and run the **new** installer script `cd ~ && wget -N https://gitlab.com/Kwoth/nadeko-bash-installer/-/raw/master/linuxAIO.sh && bash linuxAIO.sh` 2. Install prerequisites (type `1` and press enter) 3. Download the bot (type `2` and press enter) -4. Exit the installer in order to set up your `creds.yml` +4. Exit the installer (type `5` and press enter) 5. Copy the creds.yml template `cp nadekobot/output/creds_example.yml nadekobot/output/creds.yml` 6. Open `nadekobot/output/creds.yml` with your favorite text editor. We will use nano here - `nano nadekobot/output/creds.yml` From 4fd7b2d8cd7de16d2d809707a324c8b7e9d4d858 Mon Sep 17 00:00:00 2001 From: Hokuto Chen Date: Fri, 24 Dec 2021 21:46:24 +0000 Subject: [PATCH 2/3] fixed error in Source guide (accidentally used quotes) --- docs/guides/windows-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/windows-guide.md b/docs/guides/windows-guide.md index 9d95dba54..97b63be6e 100644 --- a/docs/guides/windows-guide.md +++ b/docs/guides/windows-guide.md @@ -83,8 +83,8 @@ Open PowerShell (press windows button on your keyboard and type powershell, it s 1. `git clone https://gitlab.com/kwoth/nadekobot -b v3 --depth 1` 2. `cd nadekobot` 3. `dotnet publish -c Release -o output/ src/NadekoBot/` -4. `cd output' -5. 'cp creds_example.yml creds.yml` +4. `cd output` +5. `cp creds_example.yml creds.yml` 6. Open `creds.yml` with your favorite text editor (Please don't use Notepad or WordPad. You can use Notepad++, VSCode, Atom, Sublime, or something similar) 7. [Enter your bot's token](#creds-guide) 8. Run the bot `dotnet NadekoBot.dll` From d3a73945e7bb53f8b7c1d71ac8c15d22bd879c71 Mon Sep 17 00:00:00 2001 From: Hokuto Chen Date: Mon, 27 Dec 2021 19:10:05 +0000 Subject: [PATCH 3/3] fixed "from source guide" links and "manual prereq" link --- docs/guides/windows-guide.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/guides/windows-guide.md b/docs/guides/windows-guide.md index 97b63be6e..28f7cee03 100644 --- a/docs/guides/windows-guide.md +++ b/docs/guides/windows-guide.md @@ -12,11 +12,11 @@ | [Setup](#setup) | | [Starting the Bot](#starting-the-bot) | | [Updating Nadeko](#updating-nadeko) | -| [Manually Installing the Prerequisites from the Updater](#if-the-updater-fails-to-install-the-prerequisites-for-any-reason) | +| [Manually Installing the Prerequisites from the Updater](#music-prerequisites) | -*Note: If you want to make changes to Nadeko's source code, please follow the [From Source][SourceGuide] guide instead.* +*Note: If you want to make changes to Nadeko's source code, please follow the [From Source](#windows-from-source) guide instead.* -*If you have Windows 7 or a 32-bit system, please refer to the [From Source][SourceGuide] guide.* +*If you have Windows 7 or a 32-bit system, please refer to the [From Source](#windows-from-source)) guide.* #### Prerequisites @@ -38,7 +38,7 @@ - Click on **`DOWNLOAD`** at the lower right ![Bot Setup](https://i.imgur.com/HqAl36p.png "Bot Setup") - Click on **`Install`** next to **`Redis`**. -- **Note: If Redis fails to install, install Redis manually here: [Redis Installer](https://github.com/MicrosoftArchive/redis/releases/tag/win-3.0.504) Download and run the **`.msi`** file. +- Note: If Redis fails to install, install Redis manually here: [Redis Installer](https://github.com/MicrosoftArchive/redis/releases/tag/win-3.0.504) Download and run the **`.msi`** file. - If you will use the music module, click on **`Install`** next to **`FFMPEG`** and **`Youtube-DL`**. - If any dependencies fail to install, you can temporarily disable your Windows Defender/AV until you install them. If you don't want to, then read [the last section of this guide](#Manual-Prerequisite-Installation). - When installation is finished, click on **`CREDS`** to the left of **`RUN`** at the lower right. @@ -130,8 +130,6 @@ In order to use music commands, you need ffmpeg and youtube-dl installed. [Redis]: https://github.com/MicrosoftArchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.msi [Visual C++ 2010 (x86)]: https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe [Visual C++ 2017 (x64)]: https://aka.ms/vs/15/release/vc_redist.x64.exe -[SourceGuide]: ../from-source [ffmpeg-32bit]: https://cdn.nadeko.bot/dl/ffmpeg-32.zip [ffmpeg-64bit]: https://cdn.nadeko.bot/dl/ffmpeg-64.zip [youtube-dl]: https://yt-dl.org/downloads/latest/youtube-dl.exe -