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

Create docker entrypoint for auto create database on the first build #3

Closed
Keda87 opened this issue Oct 8, 2020 · 8 comments
Closed
Assignees
Labels
hacktoberfest help wanted Extra attention is needed

Comments

@Keda87
Copy link
Owner

Keda87 commented Oct 8, 2020

The goal is to make this project fully automated when running with docker.

Currently, we should run these following commands to make this project runs.

Then create the database and do migrations.

$ docker-compose exec bank_db createdb --username=postgres db_banking
$ docker-compose exec bank_api python manage.py migrate
$ docker-compose exec bank_api python manage.py collectstatic
@Keda87 Keda87 added help wanted Extra attention is needed hacktoberfest labels Oct 8, 2020
@adityaarakeri
Copy link

adityaarakeri commented Oct 8, 2020

can take this up. assign this to me.

@Keda87
Copy link
Owner Author

Keda87 commented Oct 8, 2020

@adityaarakeri sure, thanks!

@ThirumlaDevi
Copy link
Contributor

@adityaarakeri Will it be okay if I pick this up, if you are not working on it? I can help @Keda87 with this as i've done similar automations like this before.
CC: @Keda87

@Keda87
Copy link
Owner Author

Keda87 commented Mar 13, 2021

Hi @ThirumlaDevi yeah, sure.
will assign this to you and thank you very much!

@ThirumlaDevi
Copy link
Contributor

@Keda87 I have raised #4 which contains an automised setup to start, stop and run tests over dockerized banking service.

@ThirumlaDevi
Copy link
Contributor

@Keda87 Could you please let me know if the above automation is what you are looking for? If not we can work towards it. TIA.

@Keda87
Copy link
Owner Author

Keda87 commented Mar 28, 2021

Hi @ThirumlaDevi, sorry I'm not noticed your PR, lets discuss this on the PR.
and very appreciated for your work!

@Keda87
Copy link
Owner Author

Keda87 commented Apr 1, 2021

Due to this ticket is already implemented on PR #4 , so I close this issue.
Thank you @ThirumlaDevi, much appreciate your work!

@Keda87 Keda87 closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants