zed/script/bootstrap

14 lines
261 B
Text
Raw Normal View History

#!/usr/bin/env bash
echo "installing foreman..."
which foreman > /dev/null || brew install foreman
echo "creating database..."
script/sqlx database create
echo "migrating database..."
2022-10-21 20:15:34 +00:00
cargo run -p collab -- migrate
echo "seeding database..."
script/seed-db