I love using Heroku. I love the simplicity of doing git push
into the server and have the Ruby on Rails app up and running.
I am doing a simple HTML/JS application and I am wondering if there is any free hosting that allows this simplicity of pushing the app just by doing git push
.
These should answer your question:
Static Sites on Heroku Cedar
First, lets turn your site into a PHP "application":
$ touch index.php
Next, we can fully disable Apache's PHP engine:
$ echo 'php_flag engine off' > .htaccess
When you push this up, you'll have a bare Apache instance serving up the contents of your site to the world. Best yet, you can do all of the stupid .htaccess tricks that you could on on any traditional shared hosting platform.
heroku-static-site
A simple ruby + rack application for serving a basic static website
You might also want to check out github pages which provides free static hosting that can be updated with just a git push
. The advantage of github pages over Heroku is that there won't be any Dyno Idling.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With