Created
February 24, 2016 21:48
-
-
Save adria0/ce08a68b3252728dd5e0 to your computer and use it in GitHub Desktop.
HerokuGoDeploy.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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