Set SPRING_PROFILES_ACTIVE=h2
environment variable.
Run MySql 5.7.19 on your machine and populate data from the backup.
Create src/main/resources/application-local.properties
and
fill it with your local configuration to connect to DB.
Run :application:bootRun
with -Dspring.profiles.active=local
argument
Run :application:bootRun
with -Dspring.profiles.active=local
argument or
set SPRING_PROFILES_ACTIVE=local
environment variable.
This is in-memory implementation of the BilliB DAO (artists, tracks, charts etc). Original implementation was SQL based, but there is no need to access the data via SQL because the DB size is less then 1GB.
MySqlReader.kt is an example of how to load DAO.
See tutorial.