Smart Shopping Navigator is the demonstration application where it combines Cloud IoT Core and Cloud Machine Learning Engine.
- Google Cloud Platform billing enabled project
- Enable the following APIs
- Google Cloud Storage JSON API
- Cloud IoT API
- BigQuery API
- Cloud Machine Learning Engine
- Kubernetes Engine API
- Enable the following APIs
- Raspberry Pi, Camera module and touch display
- See Setup Raspberry Pi for more details
2. Assemble Raspberry Pi device (see Setup Raspberry Pi for more details)
$ export PROJCT_ID="REPLACE WITH YOUR GCP PROJECT ID HERE"
$ cd gke
$ docker build -t gcr.io/${PROJECT_ID}/iost-worker . && docker push gcr.io/${PROJECT_ID}/iost-worker
$ gcloud container clusters create [CLUSTER_NAME] --zone [COMPUTE_ZONE]
$ gcloud container clusters get-credentials [CLUSTER_NAME] --zone [COMPUTE_ZONE]
See Creating cluster for more details.
$ cd gke
$ cp deployment.yml.example deployment.yml
Edit depoyment.yml
$ kubectl create -f deployment.yml
$ cd dashboard
$ gcloud app deploy --version v1 app.yaml