Skip to content

Commit f3d94a6

Browse files
authored
Merge pull request #6 from temporalio/first-draft
First draft
2 parents 676660b + f53961e commit f3d94a6

3 files changed

Lines changed: 22 additions & 9 deletions

File tree

.bash.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ alias webui="gp preview $(gp url 8080)"
99
export PROMPT_DIRTRIM=2
1010
export PS1="\[\033[01;34m\]\w\[\033[00m\]\$ "
1111

12+
alias codec-server="${GITPOD_REPO_ROOT}/exercises/codec-server/solution/codec-server"

.gitpod.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ tasks:
66
init: |
77
ln /workspace/edu-appdatasec-typescript-code/.bash.cfg /workspace/.bash.cfg
88
exit;
9+
# task fixes the 'Analysis Tools Missing' warning in status bar
10+
- name: install staticcheck
11+
init: |
12+
go install honnef.co/go/tools/cmd/staticcheck@latest
13+
exit;
14+
# task retrieves the project dependencies
15+
- name: Go Get Fetcher
16+
init: |
17+
go get -v -t -d ./...
18+
exit;
919
# task starts the Temporal Service via the CLI
1020
- name: Temporal Local Development Server
1121
command: |
@@ -40,7 +50,7 @@ tasks:
4050
clear
4151
echo "Use this terminal to run commands.."
4252
openMode: split-right
43-
- name: Codecserver
53+
- name: Codec Server
4454
command: |
4555
source /workspace/edu-appdatasec-typescript-code/.bash.cfg
4656
clear
@@ -51,21 +61,21 @@ ports:
5161
- name: Temporal server
5262
port: 7233
5363
onOpen: ignore
54-
- name: Temporal Web UI v2
55-
port: 8080 # temporal UI
56-
description: New (v2) Temporal Web UI
64+
- name: Codec server
65+
port: 8081
5766
onOpen: ignore
58-
visibility: private
59-
- name: Codec Server Microservice
60-
description: Local Codec Server used in exercises
61-
port: 8888
67+
- name: Temporal Web UI
68+
port: 8080 # custom port, as per --ui-port option above
69+
description: Temporal Web UI
6270
onOpen: ignore
71+
visibility: private
6372

6473
vscode:
6574
extensions:
6675
- golang.Go
6776
- ms-python.python
77+
- ms-python.debugpy
6878
- redhat.java
6979
- vscjava.vscode-java-test
7080
- vscjava.vscode-java-debug
71-
- wingrunr21.vscode-ruby
81+
- wingrunr21.vscode-ruby

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ training course.
77

88
It's important to remember that the example code used in this course was designed to support learning a specific aspect of Temporal, not to serve as a ready-to-use template for implementing a production system.
99

10+
For the exercises, make sure to run `temporal server start-dev --ui-port 8080 --db-filename clusterdata.db` in one terminal to start the Temporal server. For more details on this command, please refer to the `Setting up a Local Development Environment` chapter in the course. Note: If you're using the Gitpod environment to run this exercise, you can skip this step.
11+
1012
## Hands-On Exercises
1113

1214
| Directory Name | Exercise |

0 commit comments

Comments
 (0)