Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hakobera/go-socket.io-sample
- Owner: hakobera
- License: mit
- Created: 2014-07-25T12:53:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-25T14:19:56.000Z (over 10 years ago)
- Last Synced: 2024-04-14T09:15:53.197Z (8 months ago)
- Language: JavaScript
- Size: 1.87 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```