Add bootstrap script, avoid hard-coding zed team members

This commit is contained in:
Max Brunsfeld 2022-08-15 13:25:31 -07:00
parent dfeb5e010e
commit 776095caf0
5 changed files with 62 additions and 48 deletions

13
script/bootstrap Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
echo "installing foreman..."
which foreman > /dev/null || brew install foreman
echo "creating database..."
script/sqlx database create
echo "migrating database..."
script/sqlx migrate run
echo "seeding database..."
script/seed-db