I'd like to deploy it to Heroku, so I can use Heroku to review updates. I've got the deployment to Heroku working, but can't see anything deployed. I believe this is because Heroku hasn't added any dynos to the repo. That's because there isn't a running process from npm run start. So, I need to include a static server in the package.json dependencies, and then run it in the start script.
This issue is to create a branch/PR in this repo that contains a package.json that servers the index.html in the repo root folder.
When successfully completed, the "View deployment" for the PR will open a statically hosted instance of the index.html file in the root folder.
We have a body of static HMTL/JS in our repo.
I'd like to deploy it to Heroku, so I can use Heroku to review updates. I've got the deployment to Heroku working, but can't see anything deployed. I believe this is because Heroku hasn't added any
dynos
to the repo. That's because there isn't a running process fromnpm run start
. So, I need to include a static server in thepackage.json
dependencies, and then run it in thestart
script.This issue is to create a branch/PR in this repo that contains a
package.json
that servers theindex.html
in the repo root folder.When successfully completed, the "View deployment" for the PR will open a statically hosted instance of the
index.html
file in the root folder.