使用 eclipse 插件在 GAE 上部署应用程序

发布于 2024-12-25 00:01:08 字数 194 浏览 3 评论 0 原文

我使用 eclipse 插件在 GAE 上部署了我的 Web 应用程序。用户界面很好,但当我发送请求时,我没有看到数据被填充。应用程序统计信息选项卡将数据存储区存储的数据显示为 0%。我在本地系统上执行过哪些写入操作,一旦部署到 GAE 上,我还需要再次执行这些操作吗?这意味着当我在 GAE 上部署应用程序时,本地数据存储不会复制到 GAE 上?

I deployed my web application on GAE using eclipse plugin. UI is fine but I do not see the data getting populated when I send a request. The application statistics tab shows Datastore Stored Data as 0%. What ever write operations I did on the local system do I have to do them again once it is deployed on GAE? That means when I deploy my application on GAE the local data store is not copied on to GAE?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

丿*梦醉红颜 2025-01-01 00:01:08

是的....本地数据存储未复制...您需要上传CSV或XML格式的数据来填充数据..

Yes.... Local data store is not copied... You need to upload the data in CSV or XML format to populate the data..

静若繁花 2025-01-01 00:01:08

应用程序创建的本地数据仅供本地使用。它不打算上传到 GAE。想象一个场景,您有一个正在运行的生产应用程序,其中包含大量数据,并且您上传了该应用程序的新版本。您想要添加本地数据或更糟糕的是替换 GAE 中的数据吗?当然不是。本地设置就像一个拥有自己的数据库的测试环境。您可以使用 http://localhost:8888/_ah/admin/ 访问本地数据位于文件“WEB-INF\appengine- generated\local_db.bin”中。

如果有特殊需要,当然您可以将数据从本地应用程序上传到数据存储区。

Local data created by application is for local use only. It's not intended to be uploaded to GAE. Imagine a scenario, where you have a production application live in production with lots of data, and you upload a new version of the application. Would you like local data to be added or worse replace data in GAE? of course not. Local setup is like a test environment with it's own DB. You can access the data in local using http://localhost:8888/_ah/admin/ and it is in a file "WEB-INF\appengine-generated\local_db.bin"

If there is a special need of course you can upload data from local app to datastore.

ぶ宁プ宁ぶ 2025-01-01 00:01:08

如果您的目标是,您可以使用 CSV 或 XML 文件将数据上传到 GAE 数据存储区。我不太确定从本地服务器的数据存储区上传数据,但您可以了解更多信息 此处

You can upload data to the GAE datastore using CSV or XML files if that's your aim. I'm not positive about uploading data from your local server's datastore, but you can find out some more information here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文