mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 10:11:44 +03:00
5fea0102fb
Co-authored-by: Reese <3253971+figadore@users.noreply.github.com>
12 lines
247 B
Bash
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 |