foodadvisor icon indicating copy to clipboard operation
foodadvisor copied to clipboard

Update to Strapi v4.9.0 and moving seeding to DEITS

Open derrickmehaffy opened this issue 2 years ago • 4 comments

TODO:

  • [x] Fix all configuration files for v4.9.0
  • [x] Update .env.example with proper vars
  • [x] Upgrade a few dependencies for node 18 (one plugin needs an update, I opened a PR for it
  • [x] Remove old data.zip and move to DEITS tar archive
  • [ ] Create admins in bootstrap since DEITS doesn't support it yet

derrickmehaffy avatar Mar 30 '23 18:03 derrickmehaffy

@PaulBratslavsky and I were playing around to see how we could seed the admin users outside of DEITS since DEITS doesn't allow exporting/importing admins but it was extremely complex to do and for now we just need to wait for DEITS

I tried doing it via database migrations and via bootstrap but the timing is off or we couldn't set the user IDs to their static values.

derrickmehaffy avatar Mar 30 '23 19:03 derrickmehaffy

For now hold off on merging until I can talk to the DX about allowing admin users

derrickmehaffy avatar Mar 30 '23 19:03 derrickmehaffy

Hey Derrick 👋 Thanks for this again!

I will work on FA next week, what the DX squad said?

Mcastres avatar May 26 '23 12:05 Mcastres

Hey Derrick 👋 Thanks for this again!

I will work on FA next week, what the DX squad said?

So far you can't actually export them, but you can add it in manually into the archive and during import it should be loaded in

derrickmehaffy avatar May 26 '23 18:05 derrickmehaffy