NadekoBot/DockerGuide.md
2016-08-01 18:00:07 +02:00

1.6 KiB

Docker guide with digitalocean

#####Prerequisites:

Click on the create droplet button img

pick one click apps and select docker on 14.04

img

  • pick any droplet size you want (5$ will work ok-ish on a few servers)

  • pick location closest to your discord server's location

  • Pick a hostname
    img

  • click create

You will get an email from digitalocean with your creds now.

Open putty and type ip adress you got in your email with port 22

img

console will open and you will be prompted for a username, type root
type in the password you got in the email
confirm the password you just typed in
type in the new password
confirm new password

when you are successfully logged in, type
docker run --name nadeko -v /nadeko:/config uirel/nadeko

wait for it to download and at one point it is going to start throwing errors due to credentials.json being empty
CTRL+C to exit that
type docker stop nadeko
type nano /nadeko/credentials.json and type in your credentials
CTRL+X then CTRL+Y to save
type docker start nadeko

Your bot is running, enjoy

When you want to update the bot, just type docker restart nadeko as it always downloads latest prerelease