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

Create a seed.js with required default data for every environment. #3811

Closed
7 tasks
davemcorwin opened this issue Mar 11, 2022 · 1 comment
Closed
7 tasks

Comments

@davemcorwin
Copy link
Contributor

davemcorwin commented Mar 11, 2022

User Story

As an operator I want new environments to have required seed data.

Background (Optional)

We observed an error in the admin interface when creating an organization because the default user and manager roles did not exist.

Acceptance Criteria

  • We can seed data in an environment with yarn run seed
  • Change made live via deploy federalist.

Level of effort - low

Implementation outline (if higher than "low" effort):

  • add file scripts/seed.js (ideally idempotent)
  • add script "seed": "node ./scripts/seed.js"
  • Create required Roles in the seed file
  • Remove Role creation from create-dev-data
  • Update Readme where necessary
@apburnes
Copy link
Contributor

apburnes commented Jun 3, 2024

Superseded by #4400

@apburnes apburnes closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants