Skip to content

Instantly share code, notes, and snippets.

@adria0
Created February 24, 2016 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adria0/ce08a68b3252728dd5e0 to your computer and use it in GitHub Desktop.
Save adria0/ce08a68b3252728dd5e0 to your computer and use it in GitHub Desktop.
HerokuGoDeploy.txt
git init
heroku create
heroku buildpacks:set heroku/go
echo web: $GITPROJECT > Procfile
echo ... > main.go
#install:
# # Add Godeps dependencies to GOPATH and PATH
# - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
# - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
echo ... > .travis.yaml
godep save
git commit -m "Initial"
git push heroku master
git remote add origin https://github.com/amassanet/$GITPROJECT.git
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment