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 Release
dotnet 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 theCode
tab 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 Path
and then clickClone
)
On Raspberry :
sudo apt update
sudo apt upgrade
sudo 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 + L
thenpowershell
) dotnet restore
dotnet publish -r ubuntu.16.04-arm -c Release
- Create your
credential.json
: http://nadekobot.readthedocs.io/en/latest/JSON%20Explanations/ - Copy
credential.json
in./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
publish
from./bin/Release/netcoreapp2.0/ubuntu.16.04-arm/
to the raspberry. - If saved previously, restore your
data
backup folder inpublish
.
On raspberry :
- Go into the
publish
folder. 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 usetmux
for background run : guide.
If you have an issue, report it here. Check current issues here.
Credits : Kwoth and everyone else working on NadekoBot