Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hakobera/go-socket.io-sample

Sample application of go-socket.io. This app can run on Heroku
https://github.com/hakobera/go-socket.io-sample

Last synced: about 1 month ago
JSON representation

Sample application of go-socket.io. This app can run on Heroku

Awesome Lists containing this project

README

        

# go-socket.io-sample

Sample application of go-socket.io. This app can run on Heroku

## Prequisities

This app use [gom](https://github.com/mattn/gom) as package manager, so install gom first.

```
$ go get github.com/mattn/gom
```

## How to run on Local

```
$ git clone [email protected]:hakobera/go-socket.io-sample.git
$ cd go-socket.io-sample
$ gom install
$ PORT=3333 gom run main.go
```

Then open http://localhost:3333 on your browser.

## How to run on Heroku

Use [hakobera/heroku-buildpack-go](https://github.com/hakobera/heroku-buildpack-go), customized heroku-buildpack-go for gom.

```
$ heroku create -b https://github.com/hakobera/heroku-buildpack-go
$ git push heroku master
```

After deply success, run `heroku open` like this.

```
$ heroku open
```