Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Moved to the Wikimedia Foundation Labs server infrastructure #17

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions grails-app/conf/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ hide.languages = ["cs", "ml", "be", "da", "sk", "zh", "ast", "km", "en-GB", "en-
expose.languages = ["en", "fr", "de", "es", "pl", "ca", "br", "nl", "pt", "es", "eo"]
maxPatternElements = 5
// disable some rules for WikiCheck to avoid too many false alarms:
disabledRulesPropFile="/home/languagetool/ltcommunity/corpus/ltcommunity/disabled_rules.properties"
disabledRulesForFeedPropFile="/home/languagetool/ltcommunity/corpus/ltcommunity/disabled_rules_for_feed.properties"
disabledRulesPropFile="/data/project/languagetool/ltcommunity/corpus/wikicheck/disabled_rules.properties"
disabledRulesForFeedPropFile="/data/project/languagetool/ltcommunity/corpus/wikicheck/disabled_rules_for_feed.properties"

// Lucene index directories for fast rule matching - "LANG" will be replaced with the language code:
fastSearchIndex = "/home/languagetool/corpus/LANG"
fastSearchIndex = "/data/project/languagetool/corpus/LANG"
fastSearchTimeoutMillis = 15000

// log4j configuration
Expand Down
14 changes: 7 additions & 7 deletions grails-app/conf/DataSource.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ environments {
driverClassName = "com.mysql.jdbc.Driver"
dbCreate = "update" // one of 'create', 'create-drop','update'
url = "jdbc:mysql://localhost/ltcommunity?useUnicode=true&characterEncoding=UTF-8"
username = "root"
password = ""
username = "root"
password = ""
}
}
test {
Expand All @@ -31,11 +31,11 @@ environments {
}
production {
dataSource {
driverClassName = "com.mysql.jdbc.Driver"
dbCreate = "update" // one of 'create', 'create-drop','update'
url = "jdbc:mysql://localhost/ltcommunity?useUnicode=true&characterEncoding=UTF-8"
username = ""
password = ""
driverClassName = "com.mysql.jdbc.Driver"
dbCreate = "update" // one of 'create', 'create-drop','update'
url = "jdbc:mysql://tools-db/s52131__ltcommunity?useUnicode=true&characterEncoding=UTF-8"
username = "s52131"
password = ""
}
}
}