Permalink
Browse files

Added setup information to README.md

  • Loading branch information...
codedust committed Jan 3, 2016
1 parent 5fb1237 commit 31789c7acb7b9f0027be11c369d242fa01116ccc
Showing with 20 additions and 1 deletion.
  1. +20 −1 README.md
@@ -25,7 +25,26 @@ How to run
----------
If you are unfamiliar with Go, please start by reading [How to Write Go Code](http://golang.org/doc/code.html).
WebTox can be started simply by running `go run *.go` from within the `server` directory. Next, visit [http://localhost:8080/](http://localhost:8080/) and you are done.
First of all, you have to install [toxcore](https://github.com/irungentoo/toxcore/).
If you haven't set up your go environment yet, here is how to do so:
```bash
mkdir -p ~/go
export GOROOT=~/go
export PATH=$PATH:~/go/bin
echo "export GOPATH=~/go/" >> ~/.bash_profile
echo "export PATH=$PATH:~/go/bin" >> ~/.bash_profile
```
The easiest way to run WebTox is using the go tools:
```bash
go get github.com/codedust/WebTox
go get github.com/codedust/go-tox
go get github.com/codedust/go-httpserve
go get github.com/mattn/go-sqlite3
```
WebTox can now be started simply by running `go run *.go` from within the `server` directory. Next, visit [http://localhost:8080/](http://localhost:8080/) and you are done.
Contributing

0 comments on commit 31789c7

Please sign in to comment.