Closed jps327 closed 2 years ago
This is not necessary anymore. Using yarn seed-database-dev
is easy enough for now, and removing dependency on UPDATE_ON_BOOT
won't materially change developer experience. It was really just about having a startup command.
Currently, syncing data involves starting up the server with an UPDATE_ON_BOOT environment variable. This should be unnecessary. Ideally we should be able to seed the database by just running a script that does not rely on server startup to work. This would improve developer experience during set up significantly, and would simplify deployments to production by a lot as well.