Static Sites on Heroku
anti-pattern.com
Static Sites on Heroku
1–10 of 41 posts
Re: Static Sites on Heroku
#2Re: Static Sites on Heroku
#3Using this technique you can even use .htaccess files.
Re: Static Sites on Heroku
#41. 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
#5Re: Static Sites on Heroku
#6Re: Static Sites on Heroku
#7Heroku 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
#8Re: Static Sites on Heroku
#9You 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
#10Nice, but what about a mail server on your custom domain? I think its not that easy according to this post anyway ... http://xtargets.com/2010/10/04/using-gmail-for-email-on-a-he...