0
0
Fork 0

added an example settings file

This commit is contained in:
Gibheer 2011-06-26 08:08:15 +02:00
parent dfa2f62101
commit f1b602b4c6
1 changed files with 22 additions and 0 deletions

22
settings.rb.example Normal file
View File

@ -0,0 +1,22 @@
Compass.configuration do |config|
config.sass_dir = 'views'
config.project_path = File.dirname(__FILE__)
config.output_style = :expanded
end
$settings = {
:environment => :development,
:logging => true,
:method_override => true,
:sass => {
:style => :expanded
}
}
DataMapper::Logger.new($stdout, :debug) if $settings[:logging]
case $settings[:environment]
when :development then
DataMapper.setup(
:default, 'postgres://<user>:<passphrase>@localhost/<database>'
)
end