bundles/jugendhackt_tools: fix static root
This commit is contained in:
parent
906994b50f
commit
b2ad9ce3d8
3 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
directories['/opt/jugendhackt_tools/src'] = {}
|
directories['/opt/jugendhackt_tools/src'] = {}
|
||||||
directories['/opt/jugendhackt_tools/static'] = {}
|
|
||||||
|
|
||||||
git_deploy['/opt/jugendhackt_tools/src'] = {
|
git_deploy['/opt/jugendhackt_tools/src'] = {
|
||||||
'repo': 'https://github.com/kunsi/jugendhackt_schedule.git',
|
'repo': 'https://github.com/kunsi/jugendhackt_schedule.git',
|
||||||
|
|
|
@ -2,7 +2,7 @@ defaults = {
|
||||||
'jugendhackt_tools': {
|
'jugendhackt_tools': {
|
||||||
'django_secret': repo.vault.random_bytes_as_base64_for(f'{node.name} jugendhackt_tools django_secret'),
|
'django_secret': repo.vault.random_bytes_as_base64_for(f'{node.name} jugendhackt_tools django_secret'),
|
||||||
'django_debug': False,
|
'django_debug': False,
|
||||||
'static_root': '/opt/jugendhackt_tools/static/',
|
'static_root': '/opt/jugendhackt_tools/src/static/',
|
||||||
'database': {
|
'database': {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': 'jugendhackt_tools',
|
'NAME': 'jugendhackt_tools',
|
||||||
|
|
|
@ -371,7 +371,7 @@ nodes['rx300'] = {
|
||||||
'target': 'http://127.0.0.1:22090/',
|
'target': 'http://127.0.0.1:22090/',
|
||||||
},
|
},
|
||||||
'/static/': {
|
'/static/': {
|
||||||
'alias': '/opt/jugendhackt_tools/static/',
|
'alias': '/opt/jugendhackt_tools/src/static/',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue