An open API service indexing awesome lists of open source software.

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

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
```