mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-20 08:32:02 +03:00
16 lines
320 B
Bash
16 lines
320 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
|
|
|
|
# Build Server Dependencies
|
|
yarn workspace @affine/server-native build
|
|
|
|
# Create database
|
|
yarn workspace @affine/server prisma db push
|