Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Compose setup for development #1418

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clarissalimab
Copy link
Contributor

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 preventFullImport from 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

@wwahammy
Copy link
Member

wwahammy commented Nov 29, 2022

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?

@wwahammy
Copy link
Member

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants