zed/script/bootstrap

14 lines
273 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..."
(cd crates/collab && cargo run -- migrate)
echo "seeding database..."
script/seed-db