Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freeformz/gb-go-getting-started
GB version of Heroku's go-getting-started
https://github.com/freeformz/gb-go-getting-started
Last synced: 7 days ago
JSON representation
GB version of Heroku's go-getting-started
- Host: GitHub
- URL: https://github.com/freeformz/gb-go-getting-started
- Owner: freeformz
- License: apache-2.0
- Created: 2016-01-16T00:59:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-04T23:43:53.000Z (almost 9 years ago)
- Last Synced: 2024-12-24T06:47:37.677Z (10 days ago)
- Language: HTML
- Size: 167 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# gb-go-getting-started
A barebones Go app, which can easily be deployed to Heroku.
## Running Locally
Make sure you have [Go](http://golang.org/doc/install) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.
```console
# Install gb to your $GOPATH
$ go get github.com/constabulary/gb/...
$ cd ~/devel #or wherever you keep your projects
$ git clone https://github.com/freeformz/gb-go-getting-started.git
$ cd gb-go-getting-started
$ gb build all
$ heroku local
```Your app should now be running on [localhost:5000](http://localhost:5000/).
## Deploying to Heroku
```console
$ heroku create
$ git push heroku master
$ heroku open
```
or[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
## Documentation
For more information about using Go on Heroku, see these Dev Center articles:
- [Go on Heroku](https://devcenter.heroku.com/categories/go)
- [Go Dependencies via gb](https://devcenter.heroku.com/articles/go-dependencies-via-gb?preview=1)