How do I delete deployment instances created with Meteor Up?

I have an Azure Ubuntu test server that I am testing deployments on.

I have created multiple instances of my Meteor application using Meteor Up.

I would like to remove them from the server.

Does Meteor have some kind of "mup remove" command?

+3


source to share


1 answer


Unfortunately, Meteor-up does not provide an automated way to clean up after itself. Basically you will need to do the following on your server:

  • Stop the application using sudo service yourApp stop

    . If not, your application will work even after uninstalling
  • Delete the / opt / yourApp folder :sudo rm -rf /opt/yourApp

  • Remove init script: sudo rm /etc/init/yourApp.cfg



Also, if you used an external database, remember to clean it up with the mongo client:

> use yourDatabase
> db.dropDatabase()

      

+8


source







All Articles