Closed rahearn closed 3 years ago
CT_USE_REAL_API_DATA
dotenv
.env
Given the app is running locally with CT_USE_REAL_API_DATA=true When I visit the complaints list Then I see complaints from HSES's staging environment
CT_USE_REAL_API_DATA=true
.env.local
rails server
To be completed by the submitter:
This project is using Conventional Comments to give structure and context to PR comments. Please use these labels in your comments.
Description of change
CT_USE_REAL_API_DATA
to turn on real API access in developmentdotenv
gem to read configuration from.env
file.env
Acceptance Criteria
Given the app is running locally with
CT_USE_REAL_API_DATA=true
When I visit the complaints list Then I see complaints from HSES's staging environmentHow to test
CT_USE_REAL_API_DATA
to true in.env
or create a new.env.local
file with the content:CT_USE_REAL_API_DATA=true
rails server
Issue(s)
Checklist
To be completed by the submitter:
To the Reviewer
This project is using Conventional Comments to give structure and context to PR comments. Please use these labels in your comments.