bundles/jugendhackt_tools: fix static root

This commit is contained in:
Franzi 2023-05-15 12:06:41 +02:00
parent 906994b50f
commit b2ad9ce3d8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
directories['/opt/jugendhackt_tools/src'] = {}
directories['/opt/jugendhackt_tools/static'] = {}
git_deploy['/opt/jugendhackt_tools/src'] = {
'repo': 'https://github.com/kunsi/jugendhackt_schedule.git',

View file

@ -2,7 +2,7 @@ defaults = {
'jugendhackt_tools': {
'django_secret': repo.vault.random_bytes_as_base64_for(f'{node.name} jugendhackt_tools django_secret'),
'django_debug': False,
'static_root': '/opt/jugendhackt_tools/static/',
'static_root': '/opt/jugendhackt_tools/src/static/',
'database': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'jugendhackt_tools',

View file

@ -371,7 +371,7 @@ nodes['rx300'] = {
'target': 'http://127.0.0.1:22090/',
},
'/static/': {
'alias': '/opt/jugendhackt_tools/static/',
'alias': '/opt/jugendhackt_tools/src/static/',
},
},
},