Sharing the Datastore between GAE-based apps in a local environment
If you took my advice (HowTo Share the Datastore in GAE) and have partitioned your GAE-based app into separate deployable packages that all share a common Datastore, you’ll come across the next problem: How to simulate this production environment configuration in my local development environment?
Here’s how.
(Note. this applies to Eclipse-based GAE projects). In your Eclipse project the datastore (and datastore related info) is kept in the directory <project>/war/WEB-INF/appengine-generated. To have each project share the same datastore is to have each project share this same directory. On a Mac this easy: just create a master directory for this somewhere (preferably outside the scope of the projects) and then in each project create symbolic link to this directory.
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply