1
0
Fork 0

Modification of the README to go get repository

This commit is contained in:
Chteufleur 2015-11-07 09:29:45 +01:00
parent ac2d6ea575
commit c7d1d71c95
1 changed files with 6 additions and 14 deletions

View File

@ -12,24 +12,16 @@ go-xmpp4steam is a XMPP/Steam gateway.
* [cfg](https://github.com/jimlawless/cfg) for the configuration file. * [cfg](https://github.com/jimlawless/cfg) for the configuration file.
Go into your $GOPATH directory and execut those two line to get the 2 dependencies (cfg and go-steam). Download the CA at [https://kingpenguin.tk/ressources/cacert.pem](https://kingpenguin.tk/ressources/cacert.pem), then edit your .gitconfig and add the following lines
```sh
go get github.com/Philipp15b/go-steam
go get github.com/jimlawless/cfg
``` ```
After that, go into ``src`` directory and get the go-xmpp sources dependence. [https "https://git.kingpenguin.tk"]
```sh sslCAPath = /path/to/CA
git clone https://git.kingpenguin.tk/chteufleur/go-xmpp
``` ```
### Download sources Then go into your $GOPATH directory and go get the code.
Then download and compile the go-xmpp4steam gateway.
```sh ```sh
git clone https://git.kingpenguin.tk/chteufleur/go-xmpp4steam.git go get git.kingpenguin.tk/chteufleur/go-xmpp4steam.git
cd go-xmpp4steam
go build main.go
``` ```
A binary file will be generated.
### Configure ### Configure
Configure the gateway by editing the ``xmpp4steam.cfg`` file. Configure the gateway by editing the ``xmpp4steam.cfg`` file.
@ -37,4 +29,4 @@ The first time, let the variable ``steam_auth_code`` empty. After the first run
## Help ## Help
To get any help, please visit the XMPP conference room at ``go-xmpp4steam@muc.kingpenguin.tk`` with your prefered client, or [with your browser](https://jappix.kingpenguin.tk/?r=go-xmpp4steam@muc.kingpenguin.tk). To get any help, please visit the XMPP conference room at ``go-xmpp4steam@muc.kingpenguin.tk`` with your prefered client, or [with your browser](https://jappix.kingpenguin.tk/?r=go-xmpp4steam@muc.kingpenguin.tk).