So I'm new to deploying servers to Heroku, I wen't through a small tutorial on how to deploy a go app to Heroku. I've been working with the present
package for presentations in html5 slides. I want to add my slides to Heroku so I can access them from any computer. I'm having a hard time figuring out how to get this to work.
I know that the present
binary is in the bin folder and I have my .slide markdown textfile in my $GOPATH/src
folder. How can I deploy this to Heroku?
Any help would be great thanks!
Copy the present
binary and your slides into some directory. git init
a new branch. Then add a Procfile
with the contents:
web: present --param whatever
Then just clone the buildpack:
heroku create -b https://github.com/kr/heroku-buildpack-go.git
Commit and push to heroku master
. You're done.
I got all this from http://mmcgrana.github.io/2012/09/getting-started-with-go-on-heroku.html