<commit_before>[buildout]
extends = 
    buildout.cfg
    mkdirs
    collectstatic

[django]
extra-settings +=
    #
    #  Django Production
    #..........................
    
    DEBUG = False
    TEMPLATE_DEBUG = False

    MEDIA_ROOT = '${buildout:directory}/media'
    STATIC_ROOT = '${buildout:directory}/static'

[mkdirs]
recipe = z3c.recipe.mkdir
paths = ${django:mediaroot}
        ${django:staticroot}

[collectstatic]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = ${buildout:directory}/bin/django collectstatic --noinput

[versions]
collective.recipe.cmd = 0.5
z3c.recipe.mkdir = 0.3.1<commit_msg>Copy-paste prod buildout (ref #1)<commit_after>[buildout]
extends = 
    buildout.cfg

parts +=
    mkdirs
    collectstatic

eggs +=
    gunicorn

[django]
mediaroot = ${buildout:directory}/media
staticroot = ${buildout:directory}/static

extra-settings +=
    #
    #  Django Production
    #..........................
    
    DEBUG = False
    TEMPLATE_DEBUG = False

    MEDIA_ROOT = '${django:mediaroot}'
    STATIC_ROOT = '${django:staticroot}'

[mkdirs]
recipe = z3c.recipe.mkdir
paths = ${django:mediaroot}
        ${django:staticroot}

[collectstatic]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = ${buildout:directory}/bin/django collectstatic --noinput

[django-gunicorn]
recipe = zc.recipe.egg
scripts = gunicorn_django
eggs = ${buildout:eggs}
extra-paths = ${buildout:extra-paths}
entry-points = gunicorn_django=gunicorn.app.djangoapp:run

[supervisor]
recipe = collective.recipe.supervisor
supervisord-conf = ${buildout:directory}/etc/supervisor/supervisord.conf
logfile = ${buildout:directory}/var/log/supervisord.log
childlogdir = ${buildout:directory}/var/log
nodaemon = true
pidfile = ${buildout:directory}/var/run/supervisord.pid
programs =
    20 caminae (stdout_logfile=${buildout:directory}/var/log/supervisor-caminae.log) ${buildout:directory}/bin/django [run_gunicorn --config=${buildout:directory}/etc/gunicorn.conf] true

[versions]
collective.recipe.cmd = 0.5
z3c.recipe.mkdir = 0.3.1
{'fraction_non_alphanumeric': 0.15173410404624277, 'fraction_numerical': 0.008188824662813102, 'mean_word_length': 3.8190255220417635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7511268', 'n_tokens_mistral': 738, 'n_tokens_neox': 698, 'n_words': 120}