BoilerPlate to Host static HTML Application on Heroku

We have been massively using Heroku in and out and quite often you might need to perform proof of concepts (POC) based your html application on Heroku. I cleaned up all my code and wrote a bootstrap code for (php based) just to launch your html instantly.

How to host your html on Heroku (PHP Container)

I wrote a php trigger (.php) which spins up heroku container with php environment, that's all you need, this php, in-turn launch index. html on application and dang, that's what you need to host your html instantly

Simply fork the code from this repository, replace your html and launch you html application instantly. Readme in the repository is self explinatory

How to host your html on Heroku using Node.Js with Express Framework

Since php was fun, why not make a simple node.js application and host it on Heroku. So I spun a basic node.js application and simply loaded application server, which on load in turn route to defaulted index.html. You can fork repository from here

You May Also Like

0
comments

About me

Hi. I’m Enterprise Architect (IT) at Intuitive Surgical Inc , building worlds smartest and largest surgical robots and binding business systems with cloud. I’m Founder of OyeCode. I have worked with Salesforce.com as Technical Architect (HQ) in San Francisco and designed/developed the cutting edge Salesforce Product Trailhead . I enjoy development on Salesforce, Heroku, Rails and other cloud based platform