-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Ger Roza edited this page Mar 13, 2024
·
1 revision
- [REST With Spring] (http://bit.ly/restwithspring)
git clone https://github.com/eugenp/rws-v1.git
cd rws-v1
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