Rework db-seeding, so that it doesn't depend on a github auth token
Instead, admins are specified using a JSON file, 'admins.json'. This file is gitignored. If it is not present, there is a default list of admins in 'admins.default.json'.
This commit is contained in:
parent
c6c56c35df
commit
9367f719f2
6 changed files with 84 additions and 88 deletions
|
@ -2,8 +2,4 @@
|
|||
set -e
|
||||
|
||||
cd crates/collab
|
||||
|
||||
# Export contents of .env.toml
|
||||
eval "$(cargo run --quiet --bin dotenv)"
|
||||
|
||||
cargo run --quiet --package=collab --features seed-support --bin seed -- $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue