简体   繁体   中英

Deploying application on GAE using eclipse plugin

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?

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

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.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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