lakesare / memcode

Spaced-repetition: with real formatting.
http://memcode.com
MIT License
339 stars 73 forks source link

Docker support #195

Open EricGuic opened 1 year ago

EricGuic commented 1 year ago

Hi, I would be very happy to see an "easier" way to deploy Memcode through Docker (for example for a homeserver in a familly, a school, a non-profit organization, etc.). Could you provide it ? Thanks and congratulations for this very usefull app. Best regards.

lakesare commented 1 year ago

I'd also love to see it. Can't contribute more time to open-source projects at the moment, let's hope for someone to create & PR it.

AbdelatifAitBara commented 1 year ago

Hi @EricGuic @lakesare,

I would really help with that, but I have just a question, please: Do you want to have a Dockerfile just to build the whole project? Or with a docker-compose to deploy even the postgres with ?

Thank you :)

EricGuic commented 1 year ago

Hi both of you. As I’m not a dev, I can’t really help you. For my needs, a docker compose file to deploy the app and the database (and other dependencies if needed) is what I’m looking for. I use portainer to manage it.

AbdelatifAitBara commented 1 year ago

Hi @EricGuic thank you for your response, Ok I'm working on it. I'll do a PR when I finish ;)

EricGuic commented 1 year ago

Thank you very much @AbdelatifAitBara !

baiwfg2 commented 6 days ago

@AbdelatifAitBara How is your docker solution going ? I also need it. Many dependencies of this repo are too old, such as python2.7, node v8. It's very convenient if docker image is available.

lakesare commented 6 days ago

@baiwfg2, I'm in the process of updating everything to the latest version, bringing the repo to node v20.0.0.

Just pushed the current stage of the update. Some things might break though, hoping to bring it to a non-broken version by the end of the week.

lakesare commented 4 days ago

The updated version fully works now. Master branch of memcode is on node v20.0.0, and doesn't require python 2 to work (or any python for that matter).

If someone has capacity to set up a docker container for memcode - please continue with making it work for github codespaces (https://github.com/lakesare/memcode/tree/master/.devcontainer).