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

Define acceptance test for database deliverable #41

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Conversation

zacdezgeo
Copy link
Collaborator

What I Changed

Acceptance test documentation for the database deliverable.

How to Test

Follow the steps in the acceptance test.

Other Notes

I'd appreciate a review from @bpstewar, and someone from the DevSeed team (@alukach, @bitner or @vincentsarago)

@zacdezgeo zacdezgeo self-assigned this Sep 3, 2024
@zacdezgeo zacdezgeo added the documentation Improvements or additions to documentation label Sep 3, 2024
Set the database environment variables in `db.env`:

```bash
DB_HOST=localhost
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's really handy to just use the standard Postgres environment variables rather than more generic DB_ variables. This allows you to just set the environment and run the app or use psql or any other tooling that uses the standard environment variables without having to set the variables multiple times or to need to use command line parameters. PGPORT, PGDATABASE, PGUSER, PGPASSWORD

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Opened a PR for this specific change.

docs/acceptance/db.md Outdated Show resolved Hide resolved
docs/acceptance/db.md Show resolved Hide resolved
docs/acceptance/db.md Outdated Show resolved Hide resolved
Add remote database url. Modify attribute naming convention. Remove chunking scripts.
@zacdezgeo
Copy link
Collaborator Author

ugh, sorry everyone. I made some mistakes with git here. I pushed a new commit with that replicates the state of the env vars. I deployed the changes to https://space2stats.ds.io. Everything is behaving as expected! I'll make sure to re-write a clear commit message with the squash and merge.

Would love a last look from @vincentsarago , @bitner or @alukach and this would be good to merge!

@zacdezgeo zacdezgeo merged commit d3a9b8b into main Sep 6, 2024
2 checks passed
@zacdezgeo zacdezgeo deleted the acceptance/db branch September 6, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants