Meteor 应用程序 — 重置已部署应用程序的数据库

编程入门 行业动态 更新时间:2024-10-23 01:46:29
本文介绍了Meteor 应用程序 — 重置已部署应用程序的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有没有一种简单的方法可以从部署的应用程序中重置数据?

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

例如,如果我部署了一个名为 test.meteor 的应用程序,我如何轻松重置该应用程序收集的数据?

So, for example, if I had deployed an app named test.meteor — how could I easily reset the data that has been collected by that app?

我在本地运行 meteor reset,但我不确定在生产中要做什么.

Locally I run meteor reset, but I am unsure of what to do in production.

推荐答案

如果你有你的应用程序,你可以在你的项目目录中执行此操作

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

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

第一个删除应用程序,因此它是空白的.第二个部署它的一个新实例.

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

更多推荐

Meteor 应用程序 — 重置已部署应用程序的数据库

本文发布于:2023-11-03 20:20:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555995.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   数据库   Meteor

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!