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

[Dashboard app] Add import db from pg_dump file #462

Closed
djeck1432 opened this issue Feb 24, 2025 · 3 comments · Fixed by #474
Closed

[Dashboard app] Add import db from pg_dump file #462

djeck1432 opened this issue Feb 24, 2025 · 3 comments · Fixed by #474
Assignees
Labels

Comments

@djeck1432
Copy link
Collaborator

  1. Before applying, Read our Contributor Guidelines and README.
  2. Create script which will import data from file once all docker-containers will be up.
  3. Import db only for dashboard_app
  4. Here is the file to dashboard_app compose file
  • add here new db service(using postgres 16)
  • add also healthchech for db service
  1. create new .entrypoint.sh in this folder
  2. Don't forget to set right permission for .entrypoint.sh [chmod +x entrypoint.sh]
  3. In this file add next commands:
  • import data using pg_dumb: psql -U postgres -d <database_name> -f <fileName>.sql you can find all creds in .env.dev file here
  • streamlit run app.py
  1. DB dump will send you via DM in telegram
  2. Write your ETA in application
  3. Write your telegram handler in application
@TheRanomial
Copy link
Contributor

I would like to take this task.i love orange ETA -24 hours
Telegram- @himanshu433

@Runtee
Copy link
Contributor

Runtee commented Feb 24, 2025

I’d like to resolve this.
I have worked with postgres a lot and also docker-compose files.
I can fix the issue
Telegram- noni_tee

@djeck1432
Copy link
Collaborator Author

@Runtee Just reminder that you should create draft PR within next 2 hours.

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

Successfully merging a pull request may close this issue.

3 participants