- Finish README
Database setup:
- Create a schema in your local mysql db called stan
- Create users and passwords in your local mysql matching the details in
application-dev.properties
- Create appropriate permissions on the user
- In your run configuration for StanApplication, override the parameter
spring.profiles.active
giving it the valuedev
.
$ mysql -u root
> create schema stan;
> create user 'stan'@'%' identified by 'stanpassword';
> grant delete, insert, execute, select, update on stan.* to 'stan'@'%';
> create user 'stan_admin'@'%' identifyed by 'stanadminpassword';
> grant all on stan.* to 'stan_admin'@'%';