X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin.ini;h=f10a452f87183890454f2b30a63cdbc0d4335e63;hb=0d857844b12b033ee8ecdbcfa474781f835bee59;hp=c6dd4f76265f8ca6b0520fa9243f4969f4b3e9e6;hpb=54e219fed13e3587d3a53497fb4fcad2e997988e;p=mediagoblin.git diff --git a/mediagoblin.ini b/mediagoblin.ini index c6dd4f76..f10a452f 100644 --- a/mediagoblin.ini +++ b/mediagoblin.ini @@ -1,39 +1,42 @@ -[DEFAULT] -debug = true - -[composite:main] -use = egg:Paste#urlmap -/ = mediagoblin -/mgoblin_media/ = publicstore_serve -/mgoblin_static/ = mediagoblin_static - -[app:mediagoblin] -use = egg:mediagoblin#app -filter-with = beaker -queuestore_base_dir = %(here)s/user_dev/media/queue -publicstore_base_dir = %(here)s/user_dev/media/public -publicstore_base_url = /mgoblin_media/ +# If you want to make changes to this file, first copy it to +# mediagoblin_local.ini, then make the changes there. + +[mediagoblin] direct_remote_path = /mgoblin_static/ +email_sender_address = "notice@mediagoblin.example.org" + +## Uncomment and change to your DB's appropiate setting. +## Default is a local sqlite db "mediagoblin.db". +# sql_engine = postgresql:///gmg + +# set to false to enable sending notices +email_debug_mode = true + +# Set to false to disable registrations +allow_registration = true + +## Uncomment this to turn on video or enable other media types +# media_types = mediagoblin.media_types.image, mediagoblin.media_types.video + ## Uncomment this to put some user-overriding templates here -#local_templates = %(here)s/user_dev/templates/ - -[app:publicstore_serve] -use = egg:Paste#static -document_root = %(here)s/user_dev/media/public - -[app:mediagoblin_static] -use = egg:Paste#static -document_root = %(here)s/mediagoblin/static/ - -[filter:beaker] -use = egg:Beaker#beaker_session -cache_dir = %(here)s/user_dev/beaker -beaker.session.key = mediagoblin -# beaker.session.secret = somesupersecret -beaker.session.data_dir = %(here)s/user_dev/beaker/sessions/data -beaker.session.lock_dir = %(here)s/user_dev/beaker/sessions/lock - -[server:main] -use = egg:Paste#http -host = 127.0.0.1 -port = 6543 +# local_templates = %(here)s/user_dev/templates/ + +## You can set your theme by specifying this (not specifying it will +## use the default theme). Run `gmg theme assetlink` to apply the change. +## The airy theme comes with GMG; please see the theming docs on how to +## install other themes. +# theme = airy + +[storage:queuestore] +base_dir = %(here)s/user_dev/media/queue + +[storage:publicstore] +base_dir = %(here)s/user_dev/media/public +base_url = /mgoblin_media/ + +[celery] +# Put celery stuff here + +# place plugins here---each in their own subsection of [plugins]. see +# documentation for details. +[plugins]