In Slack:
/apparat
- Install everything:
npm i
- Run locally:
npm start
- You must have the
gcloud
CLI tool installed - Make sure you're logged in with your Apparat Google account:
gcloud auth login
gcloud auth application-default login
In both cases, choose your Apparat Google account when prompted.
- Make sure you have the
apparat-slack-integrations
Google Cloud project selected:
gcloud config set project apparat-slack-integrations
-
Run
./deploy.sh
to deploy to Google Cloud Functions. Ifdeploy.sh
is not executable, runchmod +x deploy.sh
. -
Check status and logs in the Firebase Console or Google Cloud Console for the project.