https://github.com/kevinmichaelchen/google-cloud-datastore-example
Playing around with Google Cloud Datastore Emulator
https://github.com/kevinmichaelchen/google-cloud-datastore-example
Last synced: 3 months ago
JSON representation
Playing around with Google Cloud Datastore Emulator
- Host: GitHub
- URL: https://github.com/kevinmichaelchen/google-cloud-datastore-example
- Owner: kevinmichaelchen
- Created: 2019-01-28T17:01:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T17:01:41.000Z (over 6 years ago)
- Last Synced: 2025-02-23T22:43:39.367Z (3 months ago)
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# google-cloud-datastore-example
Download the [Datastore emulator](https://cloud.google.com/datastore/docs/tools/datastore-emulator).
Then run
```bash
# Load the env vars that tell your app to use the emulator (localhost)
eval "$(gcloud beta emulators datastore env-init)"# Start the emulator service
gcloud beta emulators datastore start# Run the app (in a new tab)
go run *.go
```