Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleMigrate from environment.\*.ts to config.\*.yml
yarn env:yaml [relative-path-to-environment.ts] [optional-relative-path-to-YAML]  

# For Example, to migrate an old  example, from the 7.2 (or above) root directory, run this:
# yarn env:yaml relative/path/to/old/environment.prod.ts file config/config.prod.yml

# NOTE: you'll have to point the new config DSpace code at your old environment.prod.yml:ts to run this script.
# yarn env:yaml src/environments/Afterwards, the environment.prod.ts config/config.prod.yml file can be deleted.


In DSpace 7.1 and 7.0, the Configuration format was a Typescript file and was located at ./src/environments/environment.*.ts.  The structure of this file was essentially a JSON like format.

...