2022-08-15 20:25:31 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
echo "installing foreman..."
|
|
|
|
which foreman > /dev/null || brew install foreman
|
|
|
|
|
2024-02-15 20:53:57 +00:00
|
|
|
echo "installing minio..."
|
|
|
|
which minio > /dev/null || brew install minio/stable/minio
|
|
|
|
mkdir -p .blob_store/the-extensions-bucket
|
|
|
|
|
2022-08-15 20:25:31 +00:00
|
|
|
echo "creating database..."
|
|
|
|
script/sqlx database create
|
|
|
|
|
|
|
|
echo "migrating database..."
|
2022-11-08 22:09:17 +00:00
|
|
|
(cd crates/collab && cargo run -- migrate)
|
2022-08-15 20:25:31 +00:00
|
|
|
|
|
|
|
echo "seeding database..."
|
|
|
|
script/seed-db
|
2024-01-30 02:04:15 +00:00
|
|
|
|
|
|
|
echo "Linux dependencies..."
|
|
|
|
script/linux
|