Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is my local App Engine datastore?

How can I find where my local development datastore is located? I am using the Python SDK and Linux.

like image 527
Matt Norris Avatar asked Aug 27 '10 23:08

Matt Norris


People also ask

How do I use Google App Engine locally?

Running your application locallySelect File > Open to open the project you want to run. Browse to the directory containing your project. Select Tools > Cloud Code > App Engine Run on a local App Engine Standard dev server.

How do I run a local development server?

Running the local development server ( dev_appserver.py ) To run the tool, you can either specify the full path when you run dev_appserver.py , or you can add dev_appserver.py to your PATH environment variable. In the directory that contains your app. yaml configuration file, run the dev_appserver.py command.


1 Answers

I think it depends on if you got Java or Python SDK.

For Python, here's what the instructions say from Google: "The web server prints the location of the datastore file it is using to the terminal when it starts up. You can make a copy of the file, then restore them later to reset the datastore to a known state. Be sure to restart the web server after replacing the datastore file.

To change the location used for the datastore file, use the --datastore_path option:

dev_appserver.py --datastore_path=/tmp/myapp_datastore myapp

more info here: http://code.google.com/appengine/docs/python/tools/devserver.html

like image 69
Sologoub Avatar answered Nov 15 '22 18:11

Sologoub