8-Jun-2017
NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the
FAQ for more details.
By default the local development server doesn't specify a storage path for the simulated Cloud DataStore. This means that after your computer restarts the DataStore data gets lost, it's probably stored in a temporary directory somewhere. There is a setting that can be used to make sure that the data is preserved.
Simply set the
--storage_path parameter when you run the
dev_appserver.py script. I set mine to a subdirectory, '
gae', from my home directory, but any directory that is not a temporary directory will work. This is what the start command looks like in my case:
That's all there is to it!
-i
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
If you spot something out of place, please do let me know.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to
this disclaimer.
Igor Kromin
Other posts you may like...