Skip to content

Commit

Permalink
docs: revise example.env.config comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnwesson committed Feb 9, 2024
1 parent 760051e commit e7b851a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions example.env.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
Learner Record is now able to handle JS-based configuration!
For the time being, the `.env.*` files are still made available when cloning down this repo or pulling from
the master branch. To switch to using `env.config.js`:
the master branch. To switch to using `env.config.js(x)`:
1. Make a copy of `example.env.config.js` and configure as needed.
2. To ensure the port number is assigned to the one provided in your env.config,
uncomment the lines in webpack.dev.config.js . This will eventually be resolved in https://github.com/openedx/frontend-build/issues/513
Note: having both .env and env.config.js files will follow a predictable order, in which non-empty values in the
Note: having both .env and env.config.js(x) files will follow a predictable order, in which non-empty values in the
JS-based config will overwrite the .env environment variables.
frontend-platform's getConfig loads configuration in the following sequence:
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7b851a

Please sign in to comment.