ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.68k stars 387 forks source link

Add heroku deploy doc #295

Closed itzsaga closed 5 years ago

itzsaga commented 5 years ago

Following up on #260 this will add some more documentation around deploying a Ponzu app to Heroku.

nilslice commented 5 years ago

@itzsaga - thank you so much for putting this together.

I have a separate repo, where the official docs are maintained and host https://docs.ponzu-cms.org (https://github.com/ponzu-cms/docs), and then copied into the ponzu-cms/ponzu repo.

Would you mind putting this PR up over in the docs repo, and have this PR be the copying of both the build (HTML) and src (Markdown) of those docs?

Also, re: the Dockerfile for deployment.. it seems like we'd want to encourage people to deploy their ponzu-server binary and the static files without the entire Go toolchain or Ponzu source installed. What do you think?

Thanks!

itzsaga commented 5 years ago

@nilslice I'll get this opened up on the other repo. I'm new to Go so I didn't even think about the binary and static files instead of the entire toolchain. Makes sense. I'll get to it 😃.