bootstrap
1#!/usr/bin/env bash
2
3echo "installing foreman..."
4which foreman > /dev/null || brew install foreman
5
6echo "creating database..."
7script/sqlx database create
8
9echo "migrating database..."
10cargo run -p collab -- migrate
11
12echo "seeding database..."
13script/seed-db
14
15if [[ "$OSTYPE" == "linux-gnu"* ]]; then
16 echo "Linux dependencies..."
17 script/linux
18fi