jaltekruse / Free-Math

An offline React web application for managing digital math homework
http://freemathapp.org
71 stars 18 forks source link

Migrated the docker container to Balena Hub #213

Open maggie44 opened 2 years ago

maggie44 commented 2 years ago

First of all, apologies for creating this as an issue, I couldn't find a better route. Feel free to close right away.

We worked together on that issue building Free-Math in a Docker container, and I published it on the Learner's Block. Wanted to let you know I have now published to the Balena Hub too.

I won't be able to keep up with the updates for this though, would you mind if I submitted a pull request with a GitHub action to do the rebuilds on each release?

Here is an example of what the action looks like, but it would need to run here to trigger on new commits: https://github.com/maggie0002/free-math/blob/main/.github/workflows/deploy-to-bcr.yml

jaltekruse commented 2 years ago

Yeah I'd definitely take a pull request. Honestly, with the current structure of Free Math if seems a bit heavy to have a container for it, as there isn't any back-end I really should just publish the built files that anyone could throw onto a static server.

I know you had previously requested I start doing actual releases, that would help with some of this so you wouldn't have to tail master.

For the sake of simplifying this, would it be useful for you if I started cutting real releases and publishing a zip with the built site on github?

I don't know if anything else that is deployed on Learner's Block is just a static site, but this approach could make it more reasonable for those to all sit in one static web hosting container.