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!
Other posts you may like...