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

Improved initial dev experience for mongodb #56

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

timwekkenbc
Copy link
Collaborator

  • Created a docker-compose file for creating a mongodb database
  • Added a file to seed this initial database with some data
  • Updated the README

@timwekkenbc timwekkenbc force-pushed the feature/improve-dev-mongodb-experience branch from 24c56a9 to a56b4b5 Compare November 13, 2024 21:47
Copy link
Collaborator

@brysonjbest brysonjbest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool update for the initial dev experience. I appreciate that the init is separate from dependence on the rules repository, so this can be explored without any integration of that repo.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it useful in testing to have it synced to my local klamm. Is there a reason to remove this from the local production? I'm not sure what the env for the development environment is, but does this also remove this function from there by restricting it to production?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I forgot about local Klamm. I was just thinking this running was unnecessary during dev. But I'll revert that change


### Including Rules from the Rules Repository

To get access to rules locally on your machine simply clone the repo at https://github.com/bcgov/brms-rules into your project. This project is set to grab rules from `brms-rules/rules`, which is the default location of rules if that project is cloned into this one.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be pedantic, but would we want to include the clone instructions directly here so they could be easily copy/pasted to copy into the correct directory?

…a file to seed this initial database with some data, Updated the README
@timwekkenbc timwekkenbc force-pushed the feature/improve-dev-mongodb-experience branch from a56b4b5 to ff20b30 Compare November 13, 2024 23:38
@timwekkenbc timwekkenbc merged commit da4d461 into dev Nov 13, 2024
4 checks passed
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.

2 participants