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:
Max Brunsfeld
2024-01-17 13:28:58 -08:00
parent c6c56c35df
commit 9367f719f2
6 changed files with 84 additions and 88 deletions
-4
View File
@@ -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 -- $@