NadekoBot/docs/guides/From Source.md
2017-11-22 14:10:20 -06:00

1.1 KiB

Prerequisites

  • .net core sdk 2.0
  • ffmpeg (and added to path) either download or install using your distro's package manager
  • git
  • redis for windows, or apt-get install redis-server for linux

Clone The Repo

git clone -b 1.9 https://github.com/Kwoth/NadekoBot
cd NadekoBot/src/NadekoBot
Edit credentials.json. Read the JSON Exaplanations guide on the left if you don't know how to set it up

Run

dotnet run -c Release

when you decide to update in the future (might not work if you've made custom edits to the source, make sure you know how git works)
git pull
dotnet run -c Release

!!! NOTE FOR WINDOWS USERS !!!

If you're running from source on windows, you will have to add these 2 extra lines to your credentials, after the first open bracket:

    "ShardRunCommand": "dotnet",
    "ShardRunArguments": "run -c Release -- {0} {1}",