2 Installation - Reference Documentation
Authors: Sudhir Nimavat
Version: 0.5.2
2 Installation
Nimble can be installed in any grails project by declaring plugin dependency in BuildConfig.groovy as show below.Step 1: Install nimble plugin
plugins {
compile ":nimble:0.5.1"
}
For new projects, we recommend that you use the latest release of plugin. See Nimble plugin for latest version.
Step 2: Inject nimble into host application
inject Nimble into your host application so that you can customize various components as necessary for your use case. Execute the following command:grails jack-be-nimble <package> <User Class Name> <Profile Class Name>Example:grails jack-be-nimble com.example.domain User Profile
- conf/NimbleConfig.groovy
- conf/NimbleBootStrap.groovy
- conf/NimbleSecurityFilters.groovy
- conf/NimbleUrlMappings.groovy
- domain/<package>/<User class>.groovy
- domain/<package><Profile class>.groovy
- views/templates/nimble/mail templates
- i18n/messages-nimble.properties
grails run-app
command.
Open you browser and navigate to <app_url>/main
and you will be asked to login.By default Nimble creates two user accounts automatically, one with user rights and one with Administration rights.You can login as:
- user/useR123!
- admin/admiN123!