-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitpod.yml
executable file
·38 lines (34 loc) · 1.04 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# To learn about this file, please see https://www.gitpod.io/docs/references/gitpod-yml
# NOTE: Use Gitod's PostgreSQL image once https://github.com/gitpod-io/workspace-images/issues/705 is fixed
#image: gitpod/workspace-postgres
image:
file: .gitpod.Dockerfile
tasks:
- init: |
yarn install
yarn rw prisma db push
yarn rw exec seed
export SESSION_SECRET=`tr -dc A-Za-z0-9 </dev/urandom | head -c 64 ; echo ''`
eval $(gp env -e)
command: yarn redwood dev
ports:
- port: 5432
name: PostgreSQL database
onOpen: ignore
- port: 8910
name: RedoodJS web application
onOpen: open-browser
- port: 8911
name: Serverless functions
onOpen: ignore
vscode:
extensions:
- "dbaeumer.vscode-eslint"
- "eamodio.gitlens"
# - "ofhumanbondage.react-proptypes-intellisense" - Not published to Open VSX (yet)
- "mgmcdermott.vscode-language-babel"
- "wix.vscode-import-cost"
- "pflannery.vscode-versionlens"
- "editorconfig.editorconfig"
- "prisma.prisma"
- "graphql.vscode-graphql"