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

Develop Branch: Seamless Database Importation Script for Docker #3226

Open
palisadoes opened this issue Feb 17, 2025 · 1 comment
Open

Develop Branch: Seamless Database Importation Script for Docker #3226

palisadoes opened this issue Feb 17, 2025 · 1 comment
Assignees
Labels
feature request unapproved Unapproved for Pull Request

Comments

@palisadoes
Copy link
Contributor

palisadoes commented Feb 17, 2025

Develop Branch!

Is your feature request related to a problem? Please describe.

  1. We need a script that automatically imports the sample database into the MongoDB database when running Docker
  2. The script must not be interactive. The user needs to be able to run it from the operating system command line using a single command.
  3. Currently, the following 3 steps need to be run.
    docker exec -it talawa-api-dev /bin/bash
    npm import:sample-data
    exit
    
  4. This is to streamline the provisioning of the demo site: https://demo.talawa.io

Describe the solution you'd like

  • See above

Describe alternatives you've considered

  • N/A

Approach to be followed (optional)

  • See above

Additional context

Related issues:

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

@1709RPS
Copy link

1709RPS commented Feb 17, 2025

Please assign @palisadoes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request unapproved Unapproved for Pull Request
Projects
None yet
Development

No branches or pull requests

2 participants