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

Document how to run mongo in local development #13

Open
MrGreenTea opened this issue May 17, 2024 · 0 comments
Open

Document how to run mongo in local development #13

MrGreenTea opened this issue May 17, 2024 · 0 comments

Comments

@MrGreenTea
Copy link
Contributor

MrGreenTea commented May 17, 2024

  • cp .env.example .env
  • podman volume create yv-homepage-payload-mongo-data
  • podman run -d --publish 27017:27017 -v yv-homepage-payload-mongo-data:/data/db docker.io/library/mongo

The DATABASE_URI in .env.example should probably be mongodb://127.0.0.1/website

@MrGreenTea MrGreenTea changed the title Document Document how to run mongo in local development May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant