From 573f44866b211e6430bf871e6f828ed5f3fa6b82 Mon Sep 17 00:00:00 2001 From: Stijn Peeters Date: Tue, 6 Feb 2024 18:40:14 +0100 Subject: [PATCH] Clarify first-run.py --- helper-scripts/first-run.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helper-scripts/first-run.py b/helper-scripts/first-run.py index d1b54d03e..dea0fd487 100644 --- a/helper-scripts/first-run.py +++ b/helper-scripts/first-run.py @@ -11,7 +11,11 @@ the set-up actions in this file are only ever run once. It should not be necessary to run this file directly; it is run automatically -by 4CAT while starting up. +by 4CAT while starting up. Note that it never runs in a Docker context, since +Docker runs migrate.py whenever a container starts, and that essentially does +the same job as this script (and a lot more, which is why this lightweight +version also exists, since we don't need that extra code to also run when +running 4CAT from the command line manually). """ import shutil import sys