You know, static hosting works really great on Amazon S3, as long as you don't need a .htaccess file. On all of my jekyll sites I use S3 now and there's even a jekyll-s3 gem that makes pushing your site up to S3 painless. The nice thing about using S3 is you don't have to wait for Heroku instance start up if it's not a high traffic site.
Static Sites on Heroku
11–20 of 41 posts
Re: Static Sites on Heroku
#12Heroku for a static site? Sounds like overkill. On my VPS I just do this: 1. Have public git repo, clone on server 2. Run nginx pointing to htdocs folder in git repo 3. When I want to deploy, ssh in and git pull Works just fine. Sure, it's a public site on GitHub, but I could just as easily run a git server.
Re: Static Sites on Heroku
#13Re: Static Sites on Heroku
#14Re: Static Sites on Heroku
#15Github pages support a point-and-click interface (which is not likely what you want) but with a tiny amount of setup supports Jekyll https://help.github.com/articles/using-jekyll-with-pages / Octopress (what I use) http://octopress.org/docs/deploying/github/
Re: Static Sites on Heroku
#16heroku create myproject --stack cedar --buildpack https://github.com/pearkes/heroku-buildpack-static
Re: Static Sites on Heroku
#17You know, static hosting works really great on Amazon S3, as long as you don't need a .htaccess file. On all of my jekyll sites I use S3 now and there's even a jekyll-s3 gem that makes pushing your site up to S3 painless. The nice thing about using S3 is you don't have to wait for Heroku instance start up if it's not a high traffic site.
Re: Static Sites on Heroku
#18All you need to do to get them working on heroku is include a super basic config.ru file, and you're all set. The files compile into a public folder which heroku uses to serve them.
Re: Static Sites on Heroku
#19Heroku for a static site? Sounds like overkill. On my VPS I just do this: 1. Have public git repo, clone on server 2. Run nginx pointing to htdocs folder in git repo 3. When I want to deploy, ssh in and git pull Works just fine. Sure, it's a public site on GitHub, but I could just as easily run a git server.
Re: Static Sites on Heroku
#20Two weeks ago I was looking for this. This is the easiest way I found to do it: heroku create myproject --stack cedar --buildpack https://github.com/pearkes/heroku-buildpack-static
I was also experimenting with a Pelican buildpack (a python Jekyll): https://github.com/pearkes/heroku-buildpack-pelican
You deploy you markdown files and it generates your html in the deploy process.