diff --git a/dev/deploy/collectstatics.sh b/dev/deploy/collectstatics.sh index 3fcc01290..0d1c683de 100644 --- a/dev/deploy/collectstatics.sh +++ b/dev/deploy/collectstatics.sh @@ -1,5 +1,7 @@ #!/bin/bash +cp dev/deploy/settings_local_collectstatics.py ietf/settings_local.py + # Install Python dependencies pip --disable-pip-version-check --no-cache-dir install -r requirements.txt diff --git a/dev/deploy/settings_local_collectstatics.py b/dev/deploy/settings_local_collectstatics.py new file mode 100644 index 000000000..bcbe0cc4f --- /dev/null +++ b/dev/deploy/settings_local_collectstatics.py @@ -0,0 +1,7 @@ +# Copyright The IETF Trust 2007-2019, All Rights Reserved +# -*- coding: utf-8 -*- + +from ietf.settings import * # pyflakes:ignore + +STATIC_URL = "https://static.ietf.org/dt/%s/"%__version__ +STATIC_ROOT = os.path.abspath(BASE_DIR + "/../static/")