Skip to content

Commit 00bd6ab

Browse files
committed
Add 0_on_premises
1 parent a615910 commit 00bd6ab

23 files changed

Lines changed: 2060 additions & 0 deletions

app/.mvn/wrapper/maven-wrapper.jar

61.1 KB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2/apache-maven-3.9.2-bin.zip
2+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

app/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# 0 – On-Premises
2+
3+
In this exercise we want to set up everything we need for the other exercises. Also we want to take a look at the example application (aka the OK Forum).
4+
5+
Note: Make sure you current directory is now `0_on_premises`.
6+
7+
1. Go to the `frontend` directory
8+
9+
- Run `npm install` and `npm run dev`
10+
- A message should pop up which tells how to to reach the frontend
11+
12+
2. Now go back to `0_on_premises` directory in a new terminal
13+
14+
- Run `sdk install java 17.0.0-tem` (and possibly `sdk default java 17.0.0-tem` and `sdk use java 17.0.0-tem`)
15+
- Check if you are using Java 17 by running `java -version`
16+
- Run `mvn spring-boot:run` to start the backend
17+
- A message should pop up which tells us how to reach the backend
18+
- Make the backend port public (this can be done in the port tab via right click menu)
19+
20+
3. Connect the frontend to backend
21+
22+
- Adjust the showcase "0 – On-Premises" in showcases.ts
23+
- Set the base URL to the URL of the backend
24+
- Select showcase "0 – On-Premises" and check if the app works properly
25+
26+
4. Stop the backend by pressing Ctrl+C in the backend terminal

app/mvnw

Lines changed: 308 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)