Skip to content
Ger Roza edited this page Mar 13, 2024 · 1 revision

Resources

Quick Start

git clone https://github.com/eugenp/rws-v1.git
cd rws-v1
mvn clean install

Switch to a module branch:

git checkout module1

Start a lesson project:

cd m1-lesson5
cd um-webapp
mvn spring-boot:run

Persistence

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

Clone this wiki locally