Building a Serverless Acronym Bot on GCP using Cloud Functions

gcloud components update
cd /tmp/
mkdir slackbot
cd slackbot
# source code here
# https://github.com/pyraven/gcp-serverless-slack-acronymbot/
vi config.json
# copy/paste the json from the github
# You'll need to edit this file and add the verification token from # earlier
vi data.json
# copy/paste as is from the github
vi main.oy
# copy/paste as is from the github
# create the cloud function
gcloud functions deploy acronym_bot --runtime python37 --trigger-http
httpsTrigger:
url: https://YOUR_REGION-YOUR_PROJECT_ID.cloudfunctions.net/acronym_bot

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store