chore: add devcontainer config (#4974)

Co-authored-by: Reese <3253971+figadore@users.noreply.github.com>
This commit is contained in:
EYHN
2023-11-17 17:54:19 +08:00
committed by GitHub
parent ce2eeeffbe
commit 5fea0102fb
6 changed files with 86 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/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