tbarlow12 / projector

The create-react-app for CSE projects
2 stars 0 forks source link

Configuration is read from src/config/default.json when a projector.json exists at root #53

Open zmmille2 opened 3 years ago

zmmille2 commented 3 years ago

Projector.json should be preferred in all cases. Preference order should be:

Arguments -> Environment Variables -> Configuration File -> Reasonable Defaults

tbarlow12 commented 3 years ago

I think there are two kinds of configuration here.

  1. "Baked-in" configuration - this is stuff that devs on the project would alter & touch (default.json)
  2. User configuration - this is stuff that end users would alter & touch (projector.json)

I think we get a lot of value by keeping them separate and hiding from users things that they don't need to see