Tracking the migration to the changes I make yesterday:
Changelog
Moved most data files to a separate repo
Separated configs:
Moved src/jocsConfig.json to config/jocs.json
Moved src/config.json to config/config.json
To deal with configs and data files in different repos/directories, I've added a TANSA_PATH environment variable which, if set, specifies the directory in which the data/ directory and config/ directory is located. If a config file does not exist in the TANSA_PATH, then it will be grabbed from the default location ./config/*.
What everyone should do on their local machines:
Create a backup of the old code/repo until this version is functional
Reclone this repo
Clone the tansa-pdc repo to an adjacent folder
Try running the main program with TANSA_PATH=../tansa-pdc/ make run. This should use the data and config files from that repo to populate the gui.
What to do with the lab computer
Keep the old stable version for now
Try to clone this new code into a different directory and verify functionality
The previous dec2chor data files are on master of tansa-pdc
Tess's changes from yesterday are available on the jocsLessDrones branches of each repo
Tracking the migration to the changes I make yesterday:
Changelog
src/jocsConfig.json
toconfig/jocs.json
src/config.json
toconfig/config.json
TANSA_PATH
environment variable which, if set, specifies the directory in which thedata/
directory andconfig/
directory is located. If a config file does not exist in theTANSA_PATH
, then it will be grabbed from the default location./config/*
.What everyone should do on their local machines:
tansa-pdc
repo to an adjacent folderTANSA_PATH=../tansa-pdc/ make run
. This should use the data and config files from that repo to populate the gui.What to do with the lab computer
dec2chor
data files are on master oftansa-pdc
jocsLessDrones
branches of each repo