Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add report test config example #2690

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Add report test config example #2690

merged 2 commits into from
Jun 21, 2021

Conversation

edmofro
Copy link
Member

@edmofro edmofro commented Jun 21, 2021

I was looking for one to get started building reports, so thought I might as well save this for future devs

It's based reasonably closely on the slab doc so that there's some consistency when learning how to use the reporting package

Comment on lines +1 to +3
@baseUrl = http://localhost:8030/v1
# Uncomment below to fetch against the dev server, rather than localhost
# @baseUrl = https://dev-report-api.tupaia.org/v1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally find that in reality, rather than changing the version or port etc. I am more likely to flick between dev and localhost, so this is a more practical variable to save (especially with the change from http to https)

Copy link
Collaborator

@kael89 kael89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good initiative!

@edmofro edmofro merged commit 73d7787 into dev Jun 21, 2021
@edmofro edmofro deleted the add-report-test-config-example branch June 21, 2021 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants