I am new to google cloud platform and particle community. Probably there is plenty similar topics but I can’t find any which fully answer my questions.
My goal is to collect published events from particle electron and store it in google cloud datastore. I made python program which subscribe from pub/sub and put in into datastore. I can run it locally on my computer and it works, but I want to run this program in google cloud shell that it could work even if my computer is off.
I clone my program to google cloud shell and it is working there, but when I close shell, my program also is closed which is understandable. I think I should use “gcloud app deploy” but I don’t want to try it before I fully understand it. Could somebody tell me what should I do to run my python program? Should I create something like app.yaml? How can I delete my program from app engine? On google cloud website there is plenty of information and i think i get lost.
This tutorial shows how to do both local and cloud-based saving of published data to a Google cloud datastore. It uses node.js, but the concepts for doing it in other languages are pretty similar.