-
Notifications
You must be signed in to change notification settings - Fork 39
Jump the queue #59
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
GuentherJulian
merged 7 commits into
devonfw-tutorials:main
from
MarcelDiessner:JumpTheQueue
Mar 17, 2021
Merged
Jump the queue #59
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e9f6722
Initial Tutorial for JumpTheQueue
MarcelDiessner 945beb6
Text adjustments
MarcelDiessner fea3034
Minor changes
MarcelDiessner 3a8450d
Change enviroments.ts file
MarcelDiessner cb460cf
restoreDevonfw
MarcelDiessner d77f504
Merge remote-tracking branch 'upstream/main' into JumpTheQueue
MarcelDiessner f4d6370
Readded cobigen files
MarcelDiessner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| = Tutorial for the Jump The Queue Application | ||
| ==== | ||
| Jump The Queue is a small application based on the devonfw framework, which you can create yourself by following our simple step-by-step tutorial. By doing so, you will learn about the app development workflow and gain insight into the design of a professional business information system. | ||
|
|
||
| More information about Jump The Queue on https://github.com/devonfw/jump-the-queue | ||
| ==== | ||
|
|
||
| [step] | ||
| -- | ||
| restoreDevonfwIde(["java", "mvn", "node", "ng", "npm"]) | ||
| -- | ||
|
|
||
| Make sure to install the devonfw IDE before executing the next steps. For this tutorial we have done it for you. | ||
| Afterwards clone the Jump-The-Queue Repository. | ||
| [step] | ||
| -- | ||
| cloneRepository("", "https://github.com/devonfw/jump-the-queue.git") | ||
| -- | ||
|
|
||
| ==== | ||
| [step] | ||
| == Build and Run Java Server | ||
| -- | ||
| buildJava("jump-the-queue/java/jtqj", true) | ||
| runServerJava("jump-the-queue/java/jtqj/server", { "startupTime": 40, "port": 8081, "path": "jumpthequeue" }) | ||
| -- | ||
| Now the Java Server should be running. | ||
| ==== | ||
|
|
||
| In the next steps we want build and run the Angular Frontend Server. For that you need to install the dependencies first. | ||
| [step] | ||
| -- | ||
| npmInstall("jump-the-queue/angular") | ||
| -- | ||
|
|
||
| ==== | ||
| Now build and run the Anguar Server. | ||
| The following two steps are only needed in this tutorial. Normally you can simply execute "ng serve", open the https://localhost:4200/ and start using the app. | ||
| In the next step you need to change the Base URL for the REST Services. | ||
| [step] | ||
| == Serve the Frontend Server | ||
| -- | ||
| changeFile("jump-the-queue/angular/src/environments/environment.ts", {"content": "https://[[HOST_SUBDOMAIN]]-8081-[[KATACODA_HOST]].environments.katacoda.com/jumpthequeue/services/rest", "placeholder": "http://localhost:8081/jumpthequeue/services/rest"}) | ||
| runClientNg("jump-the-queue/angular", { "startupTime": 200, "port": 4200, "path": "" }) | ||
| -- | ||
| Now the Angular Frontend Server should be running. | ||
| ==== | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,4 @@ public String getCompany() { | |
| } | ||
| public void setCompany(String company) { | ||
| this.company = company; | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.