Task #149
openconsolidate environments
0%
Description
environment files and variables are scattered around the project, and are causing deploy issues.
git issues, service issues, these things need to be standardized and settled
JWT_SECRET_KEY vars for wep and api (also API_URL for web)
./infrastructure/config/env.api
./infrastructure/config/env.web
JWT_SECRET_KEY for local API
./src/api/config/.env
./src/api/config/.env.example
API_URL for webapp
./src/webapp/config/environments/env.example
./src/webapp/config/environments/.env.local
API base url and test variables for api testing:
API_BASE_URL, CALDAV_URL, CALDAV_USERNAME, CALDAV_PASSWORD, CALDAV_CALENDAR_UID
./test/api/config/environments/.env.dev
./test/api/config/environments/.env.staging
./test/api/config/environments/.env.production
WEBAPP_URL and API_BASE_URL for webapp testing
./test/webapp/environments/.env.staging
./test/webapp/environments/env.example
./test/webapp/environments/.env.local
where do we use environment vars?
src/webapp/webapp.py
src/api/config/config.py
src/database/config_db.py
test/api/config/environments/environment_manager.py
test/webapp/tests/conftest.py
src/webapp/services/api_client.py