-
Notifications
You must be signed in to change notification settings - Fork 593
Home
Loredana Crusoveanu edited this page Oct 23, 2020
·
35 revisions
- [REST With Spring] (http://bit.ly/restwithspring)
git clone https://github.com/eugenp/REST-With-Spring.git
cd REST-With-Spring
mvn clean install
git checkout module1
cd m1-lesson5
cd um-webapp
mvn spring-boot:run
By default, most of the lesson projects use the H2 in-memory DB and - persistence-h2.properties
.
If you want to switch to - for example - MySQL - you'll need to specify a different property on startup:
persistenceTarget=mysql
And of course, if you are going to use MySQL, you'll need to run a MySQL instance locally and you'll need to either change the default credentials in the persistence-local.properties file, or create the following user/password in your local installation: restUser / restmy5ql