Important! Some of the scripts will make changes to existing files!
Make sure to commit any changes before running a script!
This way you can roll back if something goes wrong.
This script will generate:
You will have to update
- The skeleton of a tenant resolver
- Domain class to represent tenants
- Simple tenant repository implementation
grails-app/conf/spring/resources.groovy after running this script.
Example: grails mt-quickstart com.yourapp DomainTenantResolver CachingTenantRepository Customer