Ticket #5618: 0003-Add-some-example-config.patch

File 0003-Add-some-example-config.patch, 1.3 KB (added by Olivier Mehani, 4 years ago)
  • mediagoblin.example.ini

    From 8e98ab0ae73dc3393d65e209aa3929cff13ce25b Mon Sep 17 00:00:00 2001
    From: Olivier Mehani <shtrom+mediagoblin@ssji.net>
    Date: Wed, 13 May 2020 22:31:36 +1000
    Subject: [PATCH 3/6] Add some example config
    
    * smtp details
    * datetime format
    * some metadata display
    
    Signed-off-by: Olivier Mehani <shtrom+mediagoblin@ssji.net>
    ---
     mediagoblin.example.ini | 11 +++++++++++
     1 file changed, 11 insertions(+)
    
    diff --git a/mediagoblin.example.ini b/mediagoblin.example.ini
    index 7b528359..6648fb91 100644
    a b email_sender_address = "notice@mediagoblin.example.org"  
    2323# Set to false to enable sending notices
    2424email_debug_mode = true
    2525
     26# Configure the mail server
     27#email_smtp_host = mailhub
     28#email_smtp_port = 25
     29
    2630# Set to false to disable registrations
    2731allow_registration = true
    2832
    allow_reporting = true  
    3236## Uncomment this to put some user-overriding templates here
    3337# local_templates = %(data_basedir)s/templates/
    3438
     39# Change the date format
     40#datetime_format = "%I:%M%p %Y-%m-%d"
     41
     42# Show some more metadata
     43#original_date_visible = True
     44#exif_visible = True
     45
    3546## You can set your theme by specifying this (not specifying it will
    3647## use the default theme).  Run `gmg assetlink` to apply the change.
    3748## The airy and sandyseventiesspeedboat theme comes with GMG; please