X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin.ini;h=bed6973787d7b4935914d816ea695fef78d420a9;hb=b7a3798e1806eb52a244088fb600376ff25e0de9;hp=b85f22ea172886059af537ec73eebeb8303c057f;hpb=29f3fb7052a0a512d5970a936b30175b9c7eef63;p=mediagoblin.git diff --git a/mediagoblin.ini b/mediagoblin.ini index b85f22ea..bed69737 100644 --- a/mediagoblin.ini +++ b/mediagoblin.ini @@ -1,42 +1,47 @@ -[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. +# +# If you don't see what you need here, have a look at mediagoblin/config_spec.ini +# It defines types and defaults so it’s a good place to look for documentation +# or to find hidden options that we didn’t tell you about. :) + +[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] +[[mediagoblin.plugins.geolocation]]