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

Last change on this file since 37 was 37, checked in by duh, 14 years ago
  • installed and implemented nimble plugin
  • setup basic nimble integration
  • updated menu with administrative functions (log in as admin)
  • two users (admin and user) --> see NimbleBootstrap?.groovy
  • some nimble templates still need to be fixed, however most functionality should work properly
File size: 2.8 KB
Line 
1/*
2 *  Nimble, an extensive application base for Grails
3 *  Copyright (C) 2009 Intient Pty Ltd
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
18nimble {
19    layout {
20        // main style template
21        application = 'main'
22    }
23    organization {
24        name = ""
25        displayname = ""
26        description = ""
27        logo = ""
28        logosmall = ""
29        url = ""
30    }
31
32    localusers {
33        authentication {
34            enabled = true
35        }
36        registration {
37            enabled = true
38        }
39    }
40
41    facebook {
42        federationprovider {
43            enabled = false
44            autoprovision = false
45        }
46
47        apikey = ""
48        secretkey = ""
49    }
50
51    openid {
52        federationprovider {
53            enabled = false
54            autoprovision = false
55        }
56    }
57
58    messaging {
59        registration {
60            subject = "Your new account is ready!"
61        }
62        passwordreset {
63            subject = "Your password has been reset"
64            external.subject = "Your password reset request"
65        }
66
67        mail {
68            from = "app <app@company.com>"
69            host = ""
70            port = 25
71            username = ""
72            password = ""
73            props = ["mail.smtp.auth": "false",
74              "mail.smtp.socketFactory.port": "25",
75              "mail.smtp.socketFactory.class": "javax.net.ssl.SSLSocketFactory",
76              "mail.smtp.socketFactory.fallback": "false"]
77        }
78    }
79
80    implementation {
81        user = "gscf.User"
82        profile = "gscf.Profile"
83    }
84}
85
86environments {
87    development {
88        nimble {
89            recaptcha {
90                enabled = false
91                secureapi = false
92
93                // These keys are generated by the ReCaptcha service
94                publickey = ""
95                privatekey = ""
96
97                // Include the noscript tags in the generated captcha
98                noscript = true
99            }
100        }
101    }
102    production {
103        nimble {
104            recaptcha {
105                enabled = false
106                secureapi = false
107
108                // These keys are generated by the ReCaptcha service
109                publickey = ""
110                privatekey = ""
111
112                // Include the noscript tags in the generated captcha
113                noscript = true
114            }
115        }
116    }
117}
Note: See TracBrowser for help on using the repository browser.