A barebones Go app, which can easily be deployed to Heroku.
This application supports the Getting Started with Go on Heroku article - check it out.
Running Locally
Make sure you have Go and the Heroku Toolbelt installed.
$ go get -u github.com/heroku/go-getting-started
$ cd $GOPATH/src/github.com/heroku/go-getting-started
$ heroku local
Your app should now be running on localhost:5000.
You should also install Godep if you are going to add any dependencies to the sample app.
Deploying to Heroku
$ heroku create
$ git push heroku master
$ heroku open
or
Documentation
For more information about using Go on Heroku, see these Dev Center articles:
from https://github.com/sorryforhateyou/gost-heroku
相关帖子:http://briteming.blogspot.com/2017/05/herokucomshadowsocks-over-websocket.html
No comments:
Post a Comment