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

As a developer, I want to know how to create the database manually if needed. #126

Closed
3 tasks
r-b-g-b opened this issue Sep 4, 2019 · 0 comments
Closed
3 tasks
Labels
issue type: enhancement New feature or request issue type: good first issue Good for newcomers status: ready to work on Prioritized and ready for a contributor to move to "In Progress"

Comments

@r-b-g-b
Copy link
Collaborator

r-b-g-b commented Sep 4, 2019

In some cases, developers may need to manually create the database when starting the site with

docker-compose up -d --build

Currently, this issue has been observed by @nbilenko but wasn't reproducable by other devs. We'd like to run a few more installs to see if we can reproduce. If we can confirm this is an ongoing issue, we should set an entry point to create the database.

Describe the solution you'd like
As @nbilenko mentioned in #125 manual creation looks like this:

docker exec -it woaq-db /bin/bash
psql -U postgres
CREATE DATABASE woaq;

We can extract this into an entrypoint script for the db container.

Acceptance Criteria

  • The issue has been either reproduced and observed consistently, or 3-4 install attempts have been completed without observing the issue.
  • If issue is reproducable, set an entry point to create the database as described above (or propose an alternative solution).
  • Pass appropriate tests
@r-b-g-b r-b-g-b added issue type: enhancement New feature or request status: needs definition Issue needs more info to be ready to work on discussing component: backend labels Sep 4, 2019
@theecrit theecrit changed the title Set entrypoint to create database Confirm database creation requirement and if a repreducable issue, set entrypoint to create database entrypoint to create database Sep 4, 2019
@theecrit theecrit changed the title Confirm database creation requirement and if a repreducable issue, set entrypoint to create database entrypoint to create database As a developer, I want to know how to create the database manually if needed. Sep 4, 2019
@theecrit theecrit added issue type: good first issue Good for newcomers status: ready to work on Prioritized and ready for a contributor to move to "In Progress" and removed discussing status: needs definition Issue needs more info to be ready to work on labels Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue type: enhancement New feature or request issue type: good first issue Good for newcomers status: ready to work on Prioritized and ready for a contributor to move to "In Progress"
Projects
None yet
Development

No branches or pull requests

3 participants