CommunityBot/Install Discussion History

< CommunityBot
Revision as of 13:17, 22 September 2017 by TerryPurdue (talk | contribs) (TerryPurdue moved page User:TerryPurdue/CommunityBot to User:TerryPurdue/CommunityBot/Install: Need to move main page here.)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Linux (Ubuntu 16.04)

Operating System Install/Update

All steps run on Ubuntu 16.04

sudo apt-get update
sudo apt-get -y dist-upgrade
sudo reboot

Install .NET Core

Instructions from MSFT

curl | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg			 
sudo sh -c 'echo \
   "deb [arch=amd64] xenial main" \
   > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-get update
sudo apt-get -y install dotnet-sdk-2.0.0

Install mono

sudo apt-key adv --keyserver hkp:// --recv-keys \
echo "deb xenial main" | \
   sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update
sudo apt-get -y install mono-complete

Download nuget.exe

cd /usr/bin
sudo wget

Install Discord.Net.2.0.0-alpha-build-00828

/usr/bin/mono /usr/bin/nuget.exe sources add -Name Discord.Net \
sudo /usr/bin/mono /usr/bin/nuget.exe install Discord.Net -Prerelease -Version 2.0.0-alpha-build-00828
sudo chown -R ubuntu:ubuntu ~/.nuget

Clone DiscordBot code

cd ~
mkdir git
cd git
git clone

Run bot

cd wazebot-discord/src/WazeBotDiscord
dotnet run