Run bootstrap seeds in production; add RUN_DEV_SEEDS support
This commit is contained in:
parent
a3e986ae58
commit
d032f1ca0c
5 changed files with 57 additions and 4 deletions
|
|
@ -5,6 +5,9 @@
|
|||
# Bootstrap runs in all environments. Dev seeds (members, groups, sample data)
|
||||
# run only in dev and test.
|
||||
#
|
||||
# In production (release): seeds are run via Mv.Release.run_seeds/0 from the
|
||||
# container entrypoint. Set RUN_DEV_SEEDS=true to also run dev seeds there.
|
||||
#
|
||||
# Compiler option ignore_module_conflict is set only during seed evaluation
|
||||
# so that eval_file of bootstrap/dev does not emit "redefining module" warnings;
|
||||
# it is always restored in `after` to avoid hiding real conflicts elsewhere.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue