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

Data dump for local testing #1453

Merged
merged 4 commits into from Apr 13, 2019
Merged

Data dump for local testing #1453

merged 4 commits into from Apr 13, 2019

Conversation

ramyaragupathy
Copy link
Member

Uploaded @willemarcel's local DB dump. Added a section to Devops wiki on steps to build from dump.

cc @xamanu @dakotabenjamin @ethan-nelson

@xamanu
Copy link
Contributor

xamanu commented Apr 9, 2019

Great you got this started!

I'm just wondering about the wording of the files, as we might include more than just tasks in the future. What about using /tests/database/tasking-manager.sql?

@xamanu
Copy link
Contributor

xamanu commented Apr 9, 2019

And please use the new environment variables for the documentation:

POSTGRES_DB, POSTGRES_ENDPOINT, ...

@xamanu xamanu added this to the 3.3 milestone Apr 9, 2019
@JorgeMartinezG
Copy link
Contributor

I executed migration using the file. I was able to visualize records from this dump using /api/v1/project/search endpoint.

Copy link
Contributor

@xamanu xamanu left a comment

Choose a reason for hiding this comment

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

Tested and worked well. Thanks @ramyaragupathy and @willemarcel.

@xamanu xamanu merged commit e188105 into develop Apr 13, 2019
@xamanu xamanu deleted the db-local branch April 13, 2019 10:48
@hunt3ri
Copy link
Contributor

hunt3ri commented Apr 17, 2019

As per prompting from @willemarcel I'm noting my suggestion here that to make it easy for people to start hacking on the project it should be feasible to either load the dump file from within the docker-compose file, or if not write a simple script for people to run to load the dump file into a local developement environment.

That way we have a one-liner in the README to let people start running the project immediately.

@xamanu
Copy link
Contributor

xamanu commented Apr 17, 2019

Autoloading and having a command would be great. Could be part of the Makefile #1492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants