diff --git a/README.md b/README.md index cf8fc4e..04e96d5 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ The code is still in a very early stage and it might not be robust if you use no tech.ailef snap-admin - 0.1.9 + 0.2.0 ``` @@ -64,6 +64,9 @@ a sample database and already configured code. Otherwise, go ahead and add these to your `application.properties` file: ```properties +## SnapAdmin is not enabled by default +snapadmin.enabled=true + ## The first-level part of the URL path: http://localhost:8080/${baseUrl}/ snapadmin.baseUrl=admin @@ -75,10 +78,10 @@ snapadmin.modelsPackage=your.models.package,your.second.models.package # spring.jpa.open-in-view=true ## OPTIONAL PARAMETERS + ## Whether to enable SnapAdmin # snapadmin.enabled=true # -# ## Set to true if you need to run the tests, as it will customize ## the database configuration for the internal DataSource # snapadmin.testMode=false @@ -87,7 +90,7 @@ snapadmin.modelsPackage=your.models.package,your.second.models.package # snapadmin.sqlConsoleEnabled=false ``` -**IMPORTANT**: The configuration prefix `dbadmin.` will change to `snapadmin.` starting from version 0.2.0, as part of the project being renamed. Remember to update your configuration files accordingly. +**IMPORTANT**: The configuration prefix `dbadmin.` has been changed to `snapadmin.` starting from version 0.2.0, as part of the project being renamed. Remember to update your configuration files accordingly if you were already using SnapAdmin <= 0.1.9. Now annotate your `@SpringBootApplication` class containing the `main` method with the following: