-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.yml
More file actions
84 lines (83 loc) · 2.01 KB
/
.gitpod.yml
File metadata and controls
84 lines (83 loc) · 2.01 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
github:
prebuilds:
master: true
branches: false
pullRequests: true
pullRequestsFromForks: false
addCheck: true
addComment: true
addBadge: false
ports:
- name: Frontend
port: 4000
onOpen: open-preview
visibility: public
- name: Backend
port: 8000
onOpen: ignore
visibility: public
# Ports used by Storybook
- name: Storybook
port: 6006
onOpen: open-browser
visibility: public
# Ports used by Prefect Server
- name: Prefect Server UI
port: 8080
onOpen: open-browser
visibility: public
- name: Prefect Server Hasura
port: 3000
onOpen: ignore
visibility: public
- name: Prefect Server Core
port: 4200
onOpen: ignore
visibility: public
- name: Prefect Server Apollo GraphQL
port: 4201
onOpen: ignore
visibility: public
- name: Prefect Server Postgres
port: 5432
onOpen: ignore
visibility: public
tasks:
- name: Frontend
init: ./run.sh install-frontend
command: |
source .bash_aliases
source .venv/bin/activate
./run.sh frontend
- name: Backend
command: |
source .bash_aliases
source .venv/bin/activate
./run.sh backend
- name: Storybook
command: |
source .bash_aliases
source .venv/bin/activate
./run.sh storybook
- name: Prefect
command: |
source .bash_aliases
source .venv/bin/activate
./run.sh prefect
- name: Precommit
command: |
source .venv/bin/activate
pre-commit install --install-hooks
- name: Terminal
init: |
python3 -m venv .venv
source .venv/bin/activate
./run.sh install-backend
pre-commit install --install-hooks
command: |
cat .bash_aliases >> ~/.bashrc
source ~/.bashrc
source .venv/bin/activate