Created Installing with git (markdown)

Twentysix 2016-01-13 16:32:17 +01:00
parent 6de06f34d9
commit e9b955d1bb

30
Installing-with-git.md Normal file

@ -0,0 +1,30 @@
# Installation with git
Congratulations, if you're here it means that you made the correct choice and you're going to install Red with git.
This miniguide is Windows oriented but you can do the same on Linux, through the console.
Assuming you have already installed the [requirements](https://github.com/Twentysix26/Red-DiscordBot/wiki/Requirements), it's now time to install Red.
* Go to the folder you want to install Red in. Right click. This is what you should see.
![Git bash](http://i.imgur.com/32M4VPo.png)
* Open git bash and you should see a console similar to Windows' command prompt.
![Git bash](http://i.imgur.com/IUz179P.png)
* Type
`git clone https://github.com/Twentysix26/Red-DiscordBot.git`
Git should now start downloading the files and make a folder called "Red-DiscordBot".
This is pretty much it. Enter the folder, run startRed.bat (or startRedLoop.bat for auto restart in case of error) and follow the instructions.
## Updates
Now, everytime you want to update Red and there's a new version available, all you have to do is go into the folder, open git bash and type
`git pull`
Any new/modified file will be downloaded. Of course do this only when Red is not running.