This project is tested only on raspbian.
This is more a hack for the moment, check the current issues !
- On the raspberry download dotnet for arm32 : https://www.microsoft.com/net/download
- Clone Kwoth repo : https://github.com/Kwoth/NadekoBot
- In the project folder run
dotnet restore dotnet build -c Releasedotnet run -c Release
On Windows :
- Download & install git : https://desktop.github.com/
- Download & install the installer dotnet sdk cli: https://www.microsoft.com/net/learn/get-started/windows
- Clone this repository with git. (On
gitHub.com, navigate to theCodetab of the repository, then on the right side of the screen, clickClone or download. ClickOpen in Desktop, this will open GitHub Desktop. Select where you’d like to save it locally underLocal Pathand then clickClone)
On Raspberry :
sudo apt updatesudo apt upgradesudo apt install libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev uuid-dev unzip youtube-dl libopus0 opus-tools libopus-dev libsodium-dev ffmpeg tmux python python3-pip redis-server
On windows :
- Open a powershell (in the folder
Ctrl + Lthenpowershell) dotnet restoredotnet publish -r ubuntu.16.04-arm -c Release- Create your
credential.json: http://nadekobot.readthedocs.io/en/latest/JSON%20Explanations/ - Copy
credential.jsonin./bin/Release/netcoreapp2.0/ubuntu.16.04-arm/publish. ⚠️ If it's not the 1st install and you want to keep your data, backup/copy the folderdata.- Transfert
publishfrom./bin/Release/netcoreapp2.0/ubuntu.16.04-arm/to the raspberry. - If saved previously, restore your
databackup folder inpublish.
On raspberry :
- Go into the
publishfolder. chmod a+xrw *(you can set more appropriates permissions, but this isn't the purpose of this guide)../NadekoBot, 1st boot can take 2min. You can usetmuxfor background run : guide.
If you have an issue, report it here. Check current issues here.
Credits : Kwoth and everyone else working on NadekoBot