Search code examples
herokucedar

Heroku: Creating a simple, static one page website on Cedar


I'm attempting to upload a simple one page web page using Heroku.

I was previously using the Play! Framework but it seems overkill for a single page with some javascript.

+ project/
 + public/
  + css/
   ...
  + img/
   ...
  + js/
   ...
 index.html

How do I upload a basic set of static files to Heroku? There seems to be no documentation on their website on how to do this.


Solution

  • It is not the purpose of Heroku to host static websites. However, you still can do it but you have to create either a Ruby on Rails, Play, etc. project, add the HTML in the folders.