Updated config_spec.ini to add %(data_basedir)s and make use of it!
[larjonas-mediagoblin.git] / mediagoblin.ini
blobde4d2c8521a6def432d712ae141d654a4b32309a
1 # If you want to make changes to this file, first copy it to
2 # mediagoblin_local.ini, then make the changes there.
4 # If you don't see what you need here, have a look at mediagoblin/config_spec.ini
5 # It defines types and defaults so it’s a good place to look for documentation
6 # or to find hidden options that we didn’t tell you about. :)
8 [mediagoblin]
9 direct_remote_path = /mgoblin_static/
10 email_sender_address = "notice@mediagoblin.example.org"
12 ## Uncomment and change to your DB's appropiate setting.
13 ## Default is a local sqlite db "mediagoblin.db".
14 ## Don't forget to run `./bin/gmg dbupdate` after having changed it.
15 # sql_engine = postgresql:///mediagoblin
17 # Set to false to enable sending notices
18 email_debug_mode = true
20 # Set to false to disable registrations
21 allow_registration = true
23 # Set to false to disable the ability for users to report offensive content
24 allow_reporting = true
26 ## Uncomment this to put some user-overriding templates here
27 # local_templates = %(data_basedir)s/templates/
29 ## You can set your theme by specifying this (not specifying it will
30 ## use the default theme). Run `gmg assetlink` to apply the change.
31 ## The airy and sandyseventiesspeedboat theme comes with GMG; please
32 ## see the theming docs on how to install other themes.
33 # theme = airy
35 ## If you want the terms of service displayed, you can uncomment this
36 # show_tos = true
38 user_privilege_scheme = "uploader,commenter,reporter"
39 [storage:queuestore]
40 base_dir = %(data_basedir)s/media/queue
42 [storage:publicstore]
43 base_dir = %(data_basedir)s/media/public
44 base_url = /mgoblin_media/
46 [celery]
47 # Put celery stuff here
49 # Place plugins here, each in their own subsection of [plugins].
50 # See http://docs.mediagoblin.org/siteadmin/plugins.html for details.
51 [plugins]
52 [[mediagoblin.plugins.geolocation]]
53 [[mediagoblin.plugins.basic_auth]]
54 [[mediagoblin.media_types.image]]