Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

| Views: 60
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:
 Dev Server Command
dev_appserver.py --port=8080 --log_level=debug --dev_appserver_log_level=info --storage_path=~/gae app.yaml

That's all there is to it!


Have comments or feedback on what I wrote? Please share them below! Found this useful? Consider sending me a small tip.
comments powered by Disqus
Other posts you may like...