Is it possible to upload a simple html and javascript file structure to heroku?

前端 未结 10 1555
逝去的感伤
逝去的感伤 2020-12-04 06:25

I\'m trying to deploy an open source project of mine to heroku, it is by necessity very simple with just static html and javascript. But do they not support static sites?

10条回答
  •  抹茶落季
    2020-12-04 06:49

    Hmmm... one reason that heroku is rejecting the app could be that it is trying to detect asset pipeline in rails 3.1.x apps i think.

    Why not create your app on the default stack Bamboo by running just

    heroku create
    

    Then all your js and css can go into public folder in rails app with asset pipeline deactivated.

提交回复
热议问题