You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,32 @@ stateDiagram
47
47
}
48
48
```
49
49
50
+
*Building and Testing*
51
+
-[Maven](https://maven.apache.org/) as the project management for Building and Testing the application.
52
+
The user input data from the app's view is stored in an Oracle (PDB) Database.
53
+
54
+
55
+
# How to Demo
56
+
For easy demos, an H2 database (Oracle Mode) is setup by default in the `src/main/resources/application.properties` file. </br>
57
+
You can easily use a [GitHub codespaces](https://docs.github.com/en/enterprise-cloud@latest/codespaces) with this repository. </br>
58
+
To set up your codespace, simply go to this repo [main page](https://github.com/octodemo/java-springboot-demo) --> Click **Code** --> Codespaces '+'. </br>
59
+
You can run the `./build_and_run_app.sh` helper shell script and interact with the web app on `localhost:8086`.
60
+
61
+
62
+
Running the CI workflow
63
+
1. In order to run the workflow, you will need to [fork](https://docs.github.com/en/enterprise-cloud@latest/get-started/quickstart/fork-a-repo) this repo. </br>
64
+
2. Then, make sure to save the following environment variables in your repository secrets so you can successfully run the Database schema mirgations scripts (using [Liquibase](https://www.liquibase.com/) as the schema migration tool) on application startup. </br>
65
+
66
+
Repository Secrets
67
+
`LIQUIBASE_COMMAND_URL`
68
+
`LIQUIBASE_COMMAND_USERNAME`
69
+
`LIQUIBASE_COMMAND_PASSWORD`
70
+
71
+
If you are going to use the same service containers in the CI job for dev, then the default values should be: </br>
0 commit comments