Skip to content

Instantly share code, notes, and snippets.

@glennzw
Created May 28, 2020 10:23
Show Gist options
  • Save glennzw/be04da277438e359a644e973a34eab7b to your computer and use it in GitHub Desktop.
Save glennzw/be04da277438e359a644e973a34eab7b to your computer and use it in GitHub Desktop.
Deploy to Heroku
Create Herokuapp:
1. Create repo
mkdir derp
cd derp
touch derp.go
echo "web: derp" > Procfile
govendor init
govendor add +external
git add *
git commit -m "first commit"
git remote add origin git@github.com:herp/derp.git
git push -u origin master
2. Setup Heroku
Create derp app in Herokuapp
Connect to github repo
Deploy branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment