houdini
houdini copied to clipboard
Docker Compose setup for development
This is a docker-compose setup for development. This aims to help new contributors to have an easy setup to start developing.
I'm opening it as a draft because I couldn't make it work properly yet, but if someone wants to get what's done and continue from there, it would be appreciated!
What's not working for me:
- The image is not built if the
preventFullImportfrom lodash is not turned off (under babel.config.js); - Migrations are not working because of
PG::UndefinedTable: ERROR: relation "active_storage_blobs" does not exist.
I want to look more carefully into those problems before reporting bugs if needed, but if anyone else has the time to look into them, feel free to do it.
Requirements:
- [ ] Changes in the code should not require a new docker build;
- [ ] The docker build should be added to the CI to make sure it continues to work;
- [ ] Include instructions to run the project using this setup as an alternative.
Part of #1167
Thanks for the contribution @clarissalimab! While we're still in the progress of getting this going, I'd like to explore those bugs to see if they're unique to docker or something else. Do you have instructions on how to use this docker-compose set up and recreate the bugs you're seeing?
@clarissalimab I realized that you're having the problem as #540. I've documented the problem in the replies. I don't have an immediate fix