Files
AFFiNE-Mirror/.devcontainer/build.sh
2023-11-17 17:54:19 +08:00

12 lines
247 B
Bash

#!/bin/bash
# This is a script used by the devcontainer to build the project
#Enable yarn
corepack enable
corepack prepare yarn@stable --activate
# install dependencies
yarn install
# Create database
yarn workspace @affine/server prisma db push