dde icon indicating copy to clipboard operation
dde copied to clipboard

feat: Introduction of `DDE_DATA_HOME` and Path Adjustments

Open sbaerlocher opened this issue 1 year ago • 1 comments

Added

  • New Script createDataHome.sh:

    • Introduced a new _createDataHome function for creating the DDE_DATA_HOME directory and migrating data from DATA_DIR.
    • Setup of configuration files in the DDE_DATA_HOME.
  • Transition from DATA_DIR to DDE_DATA_HOME in checkUpdate.sh:

    • Adjusted the script to use DDE_DATA_HOME directory instead of DATA_DIR for update checks.
    • No functional changes to script behavior.

Modified

  • Updates in destroy.sh and up.sh:

    • Changed from CERT_DIR to DDE_CERT_PATH for handling SSL certificates.
    • Adjusted path variables without changing the functionality.
  • Environment Variable Updates in system Directory (install.sh, env.sh, up.sh):

    • Included DDE_DATA_HOME and DDE_CERT_PATH environment variables, marking DATA_DIR and CERT_DIR as deprecated.
    • Integrated _createDataHome into both install.sh and update.sh.

Removed

  • Empty File data/.gitkeep:
    • Deleted the empty placeholder file, as it's no longer needed.

Refactored

  • dde.sh and docker-compose.yml Adjustments:
    • Implemented new environment variables DDE_DATA_HOME and DDE_CERT_PATH.
    • Updated volume paths in docker-compose.yml to align with new directory structures.

Related Issue

  • Move data folders to user home #58

sbaerlocher avatar Jan 26 '24 21:01 sbaerlocher

Hello @sbaerlocher I think you need to check the nuke command in this file as well. :)

robinlehrmann avatar Mar 05 '24 09:03 robinlehrmann