Meteor app — resetting a deployed app's DB

前端 未结 4 2261
星月不相逢
星月不相逢 2020-12-12 20:33

Is there a simple way to reset the data from a meteor deployed app?

So, for example, if I had deployed an app named test.meteor.com — how could I easily

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-12 20:39

    If you have your app with you you could do this in your project directory

    meteor deploy test.meteor.com --delete
    meteor deploy test.meteor.com 
    

    The first deletes the app so its all blank. The second deploys a fresh instance of it back.

提交回复
热议问题