Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alindeman/heroku-buildpack-go
Go Buildpack for Heroku
https://github.com/alindeman/heroku-buildpack-go
Last synced: about 1 month ago
JSON representation
Go Buildpack for Heroku
- Host: GitHub
- URL: https://github.com/alindeman/heroku-buildpack-go
- Owner: alindeman
- Created: 2013-09-16T15:04:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-19T22:36:34.000Z (over 10 years ago)
- Last Synced: 2024-10-20T07:43:19.068Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 2.38 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Buildpack for Heroku
Sets up a Heroku dyno ready to run a [golang](http://golang.org) application.
## Setup
Create a `script/bootstrap` file that installs the application's dependencies.
Using [gopack](https://github.com/d2fn/gopack) is a popular option.Create a `script/build` file that builds the application's binaries and places
them in `bin/`.Create a `Procfile` that runs the binary:
```
web: bin/myapp -p $PORT
```Configure Heroku to use the buildpack:
```
heroku config:set BUILDPACK_URL=git://github.com/alindeman/heroku-buildpack-go.git
```Ship it! :shipit:
```
git push heroku master
```