Coder Social home page Coder Social logo

Comments (6)

arunoda avatar arunoda commented on July 29, 2024

did you call mup setup

from meteor-up-legacy.

Multiply avatar Multiply commented on July 29, 2024

Yes, initially. Should I call it every time I want to reconfigure?

from meteor-up-legacy.

zenmatt avatar zenmatt commented on July 29, 2024

I can confirm this problem too, and actually ran mup setup by accident right before running mup reconfig.

from meteor-up-legacy.

Multiply avatar Multiply commented on July 29, 2024

The issue is here: https://github.com/arunoda/meteor-up/blob/master/lib/taskLists.js#L101

You need to store the old appName, and stop that service. And then you need to start the new service from the appName variable.

Where would you like this variable stored?

Edit:
Changing appName is a bit more complex, don't you think? It should rename all the directories, and files where the appName is used.

Edit 2:
Shouldn't it work a bit more like the meteor deploy command instead?
mup deploy appName

When you've deployed a project once, it could store the appName in a file, so you don't have to type it in, every time. If you then want to take down a project from your server, you would do mup deploy appName --delete, again, to reflect how Meteor works.

from meteor-up-legacy.

arunoda avatar arunoda commented on July 29, 2024

I've added a fix for mup reconfig. But it does not handle the deletion as you mentioned. We need better management for multiple deployments.

Let's try something.

from meteor-up-legacy.

Multiply avatar Multiply commented on July 29, 2024

Yes. Your fix will work, when we're not changing the appName.

I wonder how often you would do that, anyway?

from meteor-up-legacy.

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.