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

[Feature Request] automatically inject testing data to development db #891

Open
tai271828 opened this issue Aug 24, 2020 · 1 comment
Open
Assignees

Comments

@tai271828
Copy link
Member

tai271828 commented Aug 24, 2020

Describe the solution you'd like

Currently we could launch docker contains to host our website and the corresponding db for development. It will be very helpful to prepare the testing data when building the corresponding development docker image.

Describe alternatives you've considered

Inject the data in contrib with ./manage loaddata during docker image build.

Additional context

psql command manipulation.

Invite the community to discuss and vote

Please add a thumbs-up/down to show your +1 or -1 to this idea : D

@uranusjr
Copy link
Member

It may be easier to add a de-identified dump of the production database, and psql < it to the development docker image.

tai271828 added a commit to tai271828/pycon.tw that referenced this issue Aug 28, 2020
tai271828 added a commit to tai271828/pycon.tw that referenced this issue Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants