Skip to content

Commit

Permalink
Customizing Projekt-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
AP committed Oct 7, 2008
1 parent 08342f1 commit 6d63d5d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions grails-app/conf/BootStrap.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class BootStrap {

def init = {servletContext ->
//Just for testing
/*for (i in 1..500) {
for (i in 1..10) {
new Member(name: "name$i", email: "name$i@gmail.com", password: "passwd$i", displayName: "Name $i",
about: "hellooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo", mailbox: new Mailbox()).save(flush: true)
}
Expand All @@ -26,7 +26,7 @@ class BootStrap {
primaryLocation: 'USA',
architectureDescription: 'Rich UI (Flex) based application with Grails backend. Has Atom feeds and number of plugins',
tagTokens: 'grails,flex,social network'.encodeAsUniqueList(),
creatorMember)*/
creatorMember)
}

def destroy = {
Expand Down
2 changes: 1 addition & 1 deletion grails-app/conf/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ grails {
}
}

grails.serverURL="http://grailscrowd.com"
//grails.serverURL="http://grailscrowd.com"

//GrailsCrowd related configuration
gc {
Expand Down
11 changes: 9 additions & 2 deletions grails-app/conf/DataSource.groovy
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dataSource {
boolean pooling = true
dbCreate = "update" // one of 'create', 'create-drop','update'
//url = "jdbc:hsqldb:mem:testDb"
url = "jdbc:hsqldb:file:grailscrowdDB;shutdown=true"
url = "jdbc:hsqldb:mem:testDb"
// url = "jdbc:hsqldb:file:grailscrowdDB;shutdown=true"
driverClassName = "org.hsqldb.jdbcDriver"
username = "sa"
password = ""
Expand All @@ -17,6 +17,13 @@ hibernate {
// environment specific settings
environments {
development {
dataSource {
dbCreate = "create-drop" // one of 'create', 'create-drop','update'
url = "jdbc:hsqldb:mem:devDB"
}
}

dimaDevelopment {
dataSource {
boolean pooling = true
dbCreate = "update"
Expand Down

0 comments on commit 6d63d5d

Please sign in to comment.