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?
Here is what worked for me:
cd myProject
git init
heroku create myApp
heroku git:remote -a myApp
If the entry point is main.html
, create index.php
with this single line of content:
and then perform the following steps:
echo '{}' > composer.json
git add .
git commit -am "first commit"
git push heroku master
Go to http://myApp.herokuapp.com/ and your app should be online now.