climate-cooperative/home-energy-assessment-database

Implement environment config driven app start

Opened this issue · 1 comments

Description

Many of the future issues, and goals of this project require the involvement of some sort of configuration to start and connect to downstream partners correctly.

In order to automate this, we'll take advantage of .env files to assist with the auto configuration.

Given an appropriately filled out .env file
When the app starts
Then the app processes all env vars and configures services to be used within application

Technical Notes

  1. move all existing constants that would be considered env var to the .env
  2. a service that iterates through env vars, checks values, determines configuration
  3. UNIT TESTS!!!!!!

Risks

May need to wait for [TODO PLACE IN COMMENTS] to be done

Related Issues Or Discussions

[...Issues]

Best wait for #47 to be done. and potentially #46 ...