source: trunk/grails-app/conf/NimbleConfig.groovy @ 814

Last change on this file since 814 was 814, checked in by keesvb, 11 years ago

re-added nimble 0.4, after re-adding plugin and running jack-be-nimble everything seems to work fine, also with WAR deployment

File size: 3.4 KB
Line 
1/*
2 *  Nimble, an extensive application base for Grails
3 *  Copyright (C) 2010 Bradley Beddoes
4 *
5 *  Licensed under the Apache License, Version 2.0 (the "License");
6 *  you may not use this file except in compliance with the License.
7 *  You may obtain a copy of the License at
8 *
9 *  http://www.apache.org/licenses/LICENSE-2.0
10 *
11 *  Unless required by applicable law or agreed to in writing, software
12 *  distributed under the License is distributed on an "AS IS" BASIS,
13 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 *  See the License for the specific language governing permissions and
15 *  limitations under the License.
16 */
17
18// change the JavaScript library that grails & nimble use by adjusting this value
19// valid values: jquery, mootools prototype
20grails.views.javascript.library='jquery'
21
22nimble {
23    organization {
24        name = ""
25        displayname = ""
26        description = ""
27        logo = ""
28        logosmall = ""
29        url = ""
30    }
31
32        layout {
33        application = 'app'
34        administration = 'nimble'
35                login = 'app'
36    }
37
38    resources {
39        jslibrary = grails.views.javascript.library
40    }
41
42    localusers {
43        authentication {
44            enabled = true
45        }
46        registration {
47            enabled = true
48        }
49    }
50
51    facebook {
52        federationprovider {
53            enabled = false
54            autoprovision = false
55        }
56
57        apikey = ""
58        secretkey = ""
59    }
60
61    openid {
62        federationprovider {
63            enabled = false
64            autoprovision = false
65        }
66    }
67
68    messaging {
69                enabled = false
70               
71        registration {
72            subject = "Your new account is ready!"
73        }
74        passwordreset {
75            subject = "Your password has been reset"
76            external.subject = "Your password reset request"
77        }
78
79        mail {
80            from = "App <app@company.com>"
81            host = ""
82            port = 25
83            username = ""
84            password = ""
85            props = ["mail.smtp.auth": "false",
86              "mail.smtp.socketFactory.port": "25",
87              "mail.smtp.socketFactory.class": "javax.net.ssl.SSLSocketFactory",
88              "mail.smtp.socketFactory.fallback": "false"]
89        }
90    }
91
92    implementation {
93        user = "dbnp.user.User"
94        profile = "dbnp.user.Profile"
95    }
96}
97
98environments {
99    development {
100        nimble {
101            recaptcha {
102                enabled = false
103                secureapi = false
104
105                // These keys are generated by the ReCaptcha service
106                publickey = ""
107                privatekey = ""
108
109                // Include the noscript tags in the generated captcha
110                noscript = true
111            }
112
113            resources {
114                jslibrary = grails.views.javascript.library
115                usejsdev = true
116                usecssdev = true
117            }
118        }
119    }
120    production {
121        nimble {
122            recaptcha {
123                enabled = false
124                secureapi = false
125
126                // These keys are generated by the ReCaptcha service
127                publickey = ""
128                privatekey = ""
129
130                // Include the noscript tags in the generated captcha
131                noscript = true
132            }
133
134            resources {
135                jslibrary = grails.views.javascript.library
136                usejsdev = false
137                usecssdev = false
138            }
139        }
140    }
141}
Note: See TracBrowser for help on using the repository browser.