forked from Brain-up/brn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
34 lines (31 loc) · 858 Bytes
/
.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
ports:
- port: 4200
onOpen: open-preview
- port: 4201
onOpen: ignore
- port: 5432
onOpen: ignore
visibility: private
- port: 8081
onOpen: ignore
visibility: private
image: gitpod/workspace-postgres
tasks:
- init: ./gradlew clean bootJar -x test
command: >
export POSTGRES_DB=$PGDATABASE &&
export POSTGRES_USER=gitpod &&
java -Dspring.jpa.hibernate.ddl-auto=create -jar build/libs/epam-brn.jar
- init: cd frontend && yarn install
command: >
cd /workspace/brn/frontend &&
yarn local
- init: cd frontend-angular && npm install
command: >
export NG_CLI_ANALYTICS=off &&
cd /workspace/brn/frontend-angular &&
npm run start:local
github:
prebuilds:
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true