Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google app engine:Where is the datastore file stored on the local development server?

I am working on a google app engine project using python. I want to know where does google app engine stores the datastore for the projects. I have tried but could not find it.

Can anyone please help me? I am using windows.

Thanks in advance.

like image 873
Ankit Jaiswal Avatar asked Jul 16 '10 11:07

Ankit Jaiswal


People also ask

How the resource files are stored and accessed in Google App Engine?

To store data and files on App Engine, you can use Google Cloud services or any other storage service that is supported by your language and is accessible from your App Engine instance. Third-party databases can be hosted on another cloud provider, hosted on premises, or managed by a third-party vendor.

How do I use Google App Engine locally?

Running your application locally Select 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.

What is the data store used by Google App Engine?

App Engine's Go standard runtime connects to Datastore using the Go Datastore API. For a complete list of the contents of the datastore package, see the datastore package reference. You cannot use the Cloud Datastore client library with Go applications in the App Engine standard environment.

How the static files and the resource files are stored and accessed in Google App Engine?

When App Engine receives a request for a URL beginning with /static , it maps the remainder of the path to files in the ./public directory. If an appropriate file is found in the directory, the contents of that file are returned to the client. The /. * handler matches all other URLs and directs them to your app.


2 Answers

On my Windows machine the datastore file is stored in:

C:\Documents and Settings\(yourusername)\Local Settings\Temp

It'll have a .datastore extension.

like image 59
Mark Bell Avatar answered Sep 27 '22 19:09

Mark Bell


If you want to manage datastore file in your own directory, you can set the datastore path with command line arguments. See this document.

--datastore_path=...
The path to use for the local datastore data file. The server creates this file if it does not exist.

like image 35
youminkim Avatar answered Sep 27 '22 20:09

youminkim