user462455 user462455 - 1 year ago 64
Python Question

Delete local data generated by Google App Engine's

I run my application locally using

using the following command mydir --port=xxxx

Is there a way to delete all the
local data
generated by app engine server.

Currently, I go to localhost:8000/datastore, and delete entity groups manually.

  1. IS there a way to automate it

  2. Where does write local data to? (File or directory? may be in can delete that)

Answer Source

Yes there is! accepts some arguments that clears things before it starts up. Two arguments that I use consistently are: --clear_datastore=true --clear_search_indexes=true ... --help can probably give you more information about other things that you may want to clear -- But this always gets everything I need it too.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download