Open jccurtis opened 7 years ago
I think the following env vars should be added:
DOSENETREPO
DOSENETDATADIR
These can be imported in python as follows:
import os DOSENETREPO = os.environ['DOSENETREPO']
A standard way to do this is in the package __init__ to assure consistency when using scripts/imports. Additionally makeWebserverData.sh has hardcoded paths to execute making it impossible to test without changing the primary git repo on the server.
__init__
makeWebserverData.sh
I think the following env vars should be added:
DOSENETREPO
DOSENETDATADIR
These can be imported in python as follows:
A standard way to do this is in the package
__init__
to assure consistency when using scripts/imports. AdditionallymakeWebserverData.sh
has hardcoded paths to execute making it impossible to test without changing the primary git repo on the server.