Skip to content

First draft #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bash.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ alias webui="gp preview $(gp url 8080)"
export PROMPT_DIRTRIM=2
export PS1="\[\033[01;34m\]\w\[\033[00m\]\$ "

alias codec-server="${GITPOD_REPO_ROOT}/exercises/codec-server/solution/codec-server"
28 changes: 19 additions & 9 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ tasks:
init: |
ln /workspace/edu-appdatasec-typescript-code/.bash.cfg /workspace/.bash.cfg
exit;
# task fixes the 'Analysis Tools Missing' warning in status bar
- name: install staticcheck
init: |
go install honnef.co/go/tools/cmd/staticcheck@latest
exit;
# task retrieves the project dependencies
- name: Go Get Fetcher
init: |
go get -v -t -d ./...
exit;
# task starts the Temporal Service via the CLI
- name: Temporal Local Development Server
command: |
Expand Down Expand Up @@ -40,7 +50,7 @@ tasks:
clear
echo "Use this terminal to run commands.."
openMode: split-right
- name: Codecserver
- name: Codec Server
command: |
source /workspace/edu-appdatasec-typescript-code/.bash.cfg
clear
Expand All @@ -51,21 +61,21 @@ ports:
- name: Temporal server
port: 7233
onOpen: ignore
- name: Temporal Web UI v2
port: 8080 # temporal UI
description: New (v2) Temporal Web UI
- name: Codec server
port: 8081
onOpen: ignore
visibility: private
- name: Codec Server Microservice
description: Local Codec Server used in exercises
port: 8888
- name: Temporal Web UI
port: 8080 # custom port, as per --ui-port option above
description: Temporal Web UI
onOpen: ignore
visibility: private

vscode:
extensions:
- golang.Go
- ms-python.python
- ms-python.debugpy
- redhat.java
- vscjava.vscode-java-test
- vscjava.vscode-java-debug
- wingrunr21.vscode-ruby
- wingrunr21.vscode-ruby
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ training course.

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.

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.

## Hands-On Exercises

| Directory Name | Exercise |
Expand Down