DeepBlueCLtd / Fi3ldMan

Field Service Manual with advanced data exploitation
https://deepbluecltd.github.io/Fi3ldMan/
Apache License 2.0
1 stars 1 forks source link

Heroku hosting of local static content #30

Closed IanMayo closed 1 year ago

IanMayo commented 1 year ago

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 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.

IanMayo commented 1 year ago

Done.