Add bootstrap script, avoid hard-coding zed team members
This commit is contained in:
parent
dfeb5e010e
commit
776095caf0
5 changed files with 62 additions and 48 deletions
13
script/bootstrap
Executable file
13
script/bootstrap
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue