Browse files

Added spring profile usage info to readme

Change-Id: I002008f2882e103cdb40387a1b5ce50f694ab3a0
  • Loading branch information...
1 parent f004dcc commit 8c2d4555b8c36824a7c3855bc1245097557f2312 @tekul tekul committed Dec 19, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0
@@ -122,6 +122,16 @@ one of `hsqldb` or `postgresql`. The `hsqldb` profile will start up
with an in-memory RDBMS by default. Warning: the database will start
empty, so no users can log in until the first account is created.
+The active profiles can be configured by passing the
+`` parameter to the JVM. For, example to run
+with an embedded HSQL database:
+ mvn,jdbc tomcat:run
+Or to use PostgreSQL instead of HSQL:
+ mvn,jdbc,postgresql tomcat:run
## The API Application
An example resource server. It hosts a service which returns

0 comments on commit 8c2d455

Please sign in to comment.