Commit bb1d6892 authored by Thomas Leymonerie's avatar Thomas Leymonerie

slapos/software/django: Add instance for Django

parent 129ad18c
[instance]
filename = instance.cfg.in
md5sum = f1330409045e5c7abb716d9e1eb1352f
[buildout]
parts =
publish-connection-information
eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
[directory]
recipe = slapos.cookbook:mkdirectory
home = ${buildout:directory}
etc = ${:home}/etc
var = ${:home}/var
srv = ${:home}/srv
[setup-script]
recipe = slapos.recipe.template:jinja2
rendered = ${directory:home}/setup-script
template =
inline:#!/bin/sh
export PATH={{ buildout['bin-directory'] }}:$PATH
[publish-connection-information]
recipe = slapos.cookbook:publish
setup = ${setup-script:rendered}
[buildout]
extends =
../../stack/slapos.cfg
buildout.hash.cfg
parts =
django
instance
slapos-cookbook
[python]
part = python3
......@@ -14,6 +17,14 @@ interpreter = python_with_django
eggs =
Django
[instance]
recipe = slapos.recipe.template:jinja2
rendered = ${buildout:directory}/template.cfg
template = ${:_profile_base_location_}/${:filename}
context =
section buildout buildout
[versions]
Django = 3.2.12
sqlparse = 0.4.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment