简体   繁体   English

通过eclipse在Google应用引擎中部署时,数据库不会部署

[英]Database is not deploying when deploy in Google app engine through eclipse

I am deploying a app in Google app engine. 我正在Google应用引擎中部署应用。 It has deployed successfully but database is not deploying.I have developed this app in java using Google app engine. 它已经成功部署但数据库没有部署。我使用Google应用引擎在java中开发了这个应用程序。 When i see the data in data store Viewer in app dashboard so it not showing any thing. 当我在应用仪表板中看到数据存储查看器中的数据时,它没有显示任何内容。

I haven't used Google App Engine in a long time, but I don't think it's MEANT to be deployed - after the initial deployment this is obviously an issue as you don't want to overwrite your production data. 我很长一段时间没有使用过Google App Engine,但我认为部署它并不合适 - 在初始部署之后,这显然是一个问题,因为您不想覆盖您的生产数据。

This post may help: Google AppEngine database 这篇文章可能会有所帮助: Google AppEngine数据库

Matt Salmon is right, your local datastore and the remote one are two different things. Matt Salmon是对的,您的本地数据存储区和远程数据存储区是两个不同的东西。 In order to start seeing stuff in the datastore viewer online you will have to interact with the deployed application and start inserting data. 为了开始在线查看数据存储区查看器中的内容,您必须与已部署的应用程序进行交互并开始插入数据。 Since you manage to have some data locally, you should be able to do the same online. 由于您设法在本地拥有一些数据,因此您应该能够在线执行相同的操作。

Also your local datastore will be reseted from time to time, but if you want it not to be deleted then run your development server with an argument: --datastore_path= and if you're also using the blobstore: --blobstore_path=DIR . 您的本地数据存储区也会不时被重置,但如果您不希望它被删除,请使用参数运行您的开发服务器: - --datastore_path=并且如果您还使用blobstore:-- --blobstore_path=DIR

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM