unauthenticated swagger-ui on- server-port and proper security filter integration into Spring Security #163
@ -3,5 +3,6 @@ source .unset-environment
|
|||||||
export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted
|
export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted
|
||||||
export HSADMINNG_POSTGRES_ADMIN_USERNAME=admin
|
export HSADMINNG_POSTGRES_ADMIN_USERNAME=admin
|
||||||
export HSADMINNG_SUPERUSER=import-superuser@hostsharing.net
|
export HSADMINNG_SUPERUSER=import-superuser@hostsharing.net
|
||||||
|
export HSADMINNG_CAS_SERVER=
|
||||||
|
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
@ -5,4 +5,5 @@ unset HSADMINNG_POSTGRES_RESTRICTED_USERNAME
|
|||||||
unset HSADMINNG_SUPERUSER
|
unset HSADMINNG_SUPERUSER
|
||||||
unset HSADMINNG_MIGRATION_DATA_PATH
|
unset HSADMINNG_MIGRATION_DATA_PATH
|
||||||
unset HSADMINNG_OFFICE_DATA_SQL_FILE
|
unset HSADMINNG_OFFICE_DATA_SQL_FILE
|
||||||
|
unset HSADMINNG_CAS_SERVER=
|
||||||
|
|
||||||
|
23
README.md
23
README.md
@ -666,6 +666,29 @@ These profiles mean:
|
|||||||
- **without-test-data**: no test-data is inserted
|
- **without-test-data**: no test-data is inserted
|
||||||
|
|
||||||
|
|
||||||
|
### How to Run the Application in a Debugger
|
||||||
|
|
||||||
|
Add `' --debug-jvm` to the command line:
|
||||||
|
|
||||||
|
|
||||||
|
```sh
|
||||||
|
gw bootRun --debug-jvm
|
||||||
|
```
|
||||||
|
|
||||||
|
At the very beginning, the application is going to wait for a debugger with a message like this:
|
||||||
|
|
||||||
|
> Listening for transport dt_socket at address: 5005
|
||||||
|
|
||||||
|
As soon as a debugger connects to that port, the application will continue to run.
|
||||||
|
|
||||||
|
In IntelliJ IDEA you need a 'Remote JVM Debug' run configuration like this:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Now, to attach IntelliJ IDEA as a debugger, you just need to run that config in debug mode.
|
||||||
|
If it's selected, just hit the *bug*-symbol next to it.
|
||||||
|
|
||||||
|
|
||||||
### How to Do a Clean Run of the Application
|
### How to Do a Clean Run of the Application
|
||||||
|
|
||||||
If you frequently need to run with a fresh database and a clean build, you can use this:
|
If you frequently need to run with a fresh database and a clean build, you can use this:
|
||||||
|
BIN
doc/.images/intellij-idea-jvm-debug-run-config.png
Normal file
BIN
doc/.images/intellij-idea-jvm-debug-run-config.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
Loading…
x
Reference in New Issue
Block a user