File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- # this is just a config file for gitpod. See readme at https://github.com/temporalio/samples-typescript/blob/main/.gitpod.readme.md
1
+ # this is a config file for gitpod setup, ignore if you are running samples locally
2
+ # See readme at https://github.com/temporalio/samples-typescript/blob/main/.gitpod.readme.md
2
3
3
4
tasks :
4
5
- name : Run Hello World Worker
5
6
init : |
6
7
alias tctl="docker exec temporal-admin-tools tctl"
7
8
echo "tctl configured! try typing tctl -v" # can't run tctl directly from gitpod.yml
8
- gp open .gitpod.readme.md
9
- cd hello-world
9
+ cd hello-world # this cd doesnt persist in postbuild
10
10
npm install
11
11
command : |
12
+ gp open .gitpod.readme.md
12
13
gp sync-await server-up
14
+ cd hello-world
13
15
npm run start.watch
14
16
- name : Run Hello World Workflow
15
17
init : |
16
18
alias tctl="docker exec temporal-admin-tools tctl"
17
19
echo "tctl configured! try typing tctl -v" # can't run tctl directly from gitpod.yml
18
20
command : |
19
21
cd hello-world
20
- until npm run workflow; do clear; sleep 5; done; # "sleep until temporal is actually up"
22
+ until npm run workflow; do sleep 5; done; # "sleep until temporal is actually up"
21
23
gp sync-done server-up
22
24
gp preview http://localhost:8088 # open up Temporal Web to show new workflow
23
25
npm run workflow # run workflow again for user's easy access
@@ -27,11 +29,11 @@ tasks:
27
29
command : docker-compose up
28
30
29
31
ports :
30
- - port : 5432 # postgres
32
+ - port : 5432 # postgres
31
33
onOpen : ignore
32
- - port : 7233 # temporal server
34
+ - port : 7233 # temporal server
33
35
onOpen : ignore
34
- - port : 8088 # temporal web
36
+ - port : 8088 # temporal web
35
37
onOpen : ignore
36
38
visibility : public
37
39
You can’t perform that action at this time.
0 commit comments