nginx compatibility added to serve static files on server; whitenoise installed to catch static file serving in local docker container, also added to core.settings middleware; console logs & print statements removed from dashboard.js & functional_tests.container_commands; ansible playbook and nginx config file support nginx w.in deployment workflow

This commit is contained in:
Disco DeDisco
2026-02-08 17:55:09 -05:00
parent 07a76cb32d
commit 8190317c21
7 changed files with 75 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ def _exec_in_container(host, commands):
return _exec_in_container_on_server(host, commands)
def _exec_in_container_locally(commands):
print(f"Running {commands} on inside local docker container")
# print(f"Running {commands} on inside local docker container")
return _run_commands(["docker", "exec", _get_container_id()] + commands)
def _exec_in_container_on_server(host, commands):
@@ -52,5 +52,5 @@ def _run_commands(commands):
result = process.stdout.decode()
if process.returncode != 0:
raise Exception(result)
print(f"Result: {result!r}")
# print(f"Result: {result!r}")
return result.strip()