Update DockerGuide.md

This commit is contained in:
Master Kwoth 2016-08-01 17:57:50 +02:00 committed by GitHub
parent 86b6883c75
commit 36c7e48e03

View File

@ -3,6 +3,7 @@
#####Prerequisites: #####Prerequisites:
- Digital ocean account (you can use my reflink to support the project and get 10$ after you register m.do.co/c/46b4d3d44795/) - Digital ocean account (you can use my reflink to support the project and get 10$ after you register m.do.co/c/46b4d3d44795/)
- Putty (get it here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) - Putty (get it here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
- A bot account - (follow http://discord.kongslien.net/guide.html)
- Common sense - Common sense
Click on the create droplet button Click on the create droplet button
@ -21,24 +22,24 @@ pick one click apps and select docker on 14.04
You will get an email from digitalocean with your creds now. 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 Open putty and type ip adress **you got in your email** with port 22
![img](http://imgur.com/Mh5ehsh.png) ![img](http://imgur.com/Mh5ehsh.png)
console will open and you will be prompted for a username, type `root` console will open and you will be prompted for a username, type `root`
type in the password you got in the email type in the password you got in the email
confirm the password you just typed in confirm the password you just typed in
type in the new password type in the new password
confirm new password confirm new password
when you are successfully logged in, type when you are successfully logged in, type
`docker run --name nadeko -v /nadeko:/config uirel/nadeko` `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 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 CTRL+C to exit that
type `docker stop nadeko` type `docker stop nadeko`
type `nano /nadeko/credentials.json` and type in your credentials type `nano /nadeko/credentials.json` and type in your credentials
CTRL+X then CTRL+Y to save CTRL+X then CTRL+Y to save
type `docker start nadeko` type `docker start nadeko`
Your bot is running, enjoy Your bot is running, enjoy