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

Added script to init district in local environment from production data in main and exploitation DBs #453

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antoineludeau
Copy link
Member

@antoineludeau antoineludeau commented Jul 29, 2024

Context

To improve developper experience, we need to easily initialize internal DBs with data.

Enhancement

This PRs adds a way to initialize main db (postgresql) and exploitation db (mongodb) with data from production with a script that takes as arguments the insee code

Example :

node toolbox.dev/script/init-district-cogs-in-db-from-production.js 12345 67890 => Will get the district cog 12345 and 67890 data from production and init the data into the local dbs.

@antoineludeau antoineludeau changed the title Added script to init district from production data in main and exploitation DBs Added script to init district in local environment from production data in main and exploitation DBs Jul 29, 2024
@antoineludeau antoineludeau self-assigned this Jul 29, 2024
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.

1 participant