user462455 user462455 - 3 months ago 24
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)


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.