Skip to content
Snippets Groups Projects
Commit ba3b3e39 authored by Michal Badin's avatar Michal Badin
Browse files

feat(README): Updated README with seed and clear info

parent 7d891a9f
No related branches found
No related tags found
2 merge requests!54Merge develop into main,!45M2 feedback - string size restriction, CI/CD and DomainObject
...@@ -97,6 +97,15 @@ Just note that each module runs on a different port by default, so care where yo ...@@ -97,6 +97,15 @@ Just note that each module runs on a different port by default, so care where yo
These ports can be overridden either in the application.properties file of each module, or by specifying the port These ports can be overridden either in the application.properties file of each module, or by specifying the port
manually when running the "mvn" command to run the module. manually when running the "mvn" command to run the module.
## Seed and clear DB
DB is at the start of the app seeded with some Data, thus you don't have to do it manually.
For users are available 2 endpoints:
- /seed - Seed DB with some Data
- /clear - Clear DB whenever during running
*Note: /seed will always seed DB with the same Data. Keep in mind, If you seed DB after startup, DB will contain the same data twice.*
## Build and run the app with Docker ## Build and run the app with Docker
For purpose of this build and run the installation of Docker/Podman For purpose of this build and run the installation of Docker/Podman
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment