Giter Site home page Giter Site logo

Comments (10)

vkarpov15 avatar vkarpov15 commented on July 20, 2024

Thanks for reporting, just released 0.1.3 with a fix 👍

from run-rs.

iansu avatar iansu commented on July 20, 2024

Thanks for the quick fix! This package is great. It saved me the trouble of getting this working with docker-compose.

from run-rs.

vkarpov15 avatar vkarpov15 commented on July 20, 2024

Glad you found it useful! Yeah docker-compose is a major headache in my experience.

from run-rs.

iansu avatar iansu commented on July 20, 2024

This seems to have created another issue when running with --keep on the first run. The problem is somewhere around here: https://github.com/vkarpov15/run-rs/blob/master/index.js#L64

Since it hasn't been run before it should be doing rs.start() but because of the --keep flag it's trying to restart a replica set that doesn't actually exist yet so it just hangs forever.

from run-rs.

iansu avatar iansu commented on July 20, 2024

I'm happy to submit a PR if you don't have time to fix this right now. Let me know.

from run-rs.

vkarpov15 avatar vkarpov15 commented on July 20, 2024

Just released 0.1.4 with a fix 👍

from run-rs.

iansu avatar iansu commented on July 20, 2024

I just tested it and can confirm that it works. Thanks again!

from run-rs.

vkarpov15 avatar vkarpov15 commented on July 20, 2024

Happy to help. If you have a minute, I'd love to hear what sort of project you're using run-rs for.

from run-rs.

iansu avatar iansu commented on July 20, 2024

It's for work so I can't really give a lot of details. Our app requires transactions so we need to use MongoDB 4. In order to use transactions you must have a replica set, even when running locally. We were previously using docker to run mongo locally. It ended up being a pain to get a replica set running properly with docker-compose so I decided to give this a try instead. So far the experience has been much better and easier to get running.

from run-rs.

vkarpov15 avatar vkarpov15 commented on July 20, 2024

Thanks for the info, don't hesitate to reach out if you have any problems or suggestions for improvements.

from run-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.