https://github.com/opsway/flat_slack_command
OpsWay "/flat" command for slack used for info about shared company appartaments.
https://github.com/opsway/flat_slack_command
Last synced: 9 months ago
JSON representation
OpsWay "/flat" command for slack used for info about shared company appartaments.
- Host: GitHub
- URL: https://github.com/opsway/flat_slack_command
- Owner: opsway
- Created: 2017-08-29T21:15:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-29T21:16:11.000Z (almost 9 years ago)
- Last Synced: 2025-07-14T03:05:10.131Z (11 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OpsWay Flat command for slack
====================
Before you begin
----------------
1. Select or create a Cloud Platform project.
[Go to the Projects page](https://console.cloud.google.com/project)
2. Enable billing for your project (or use exists).
[Enable billing](https://support.google.com/cloud/answer/6293499#enable-billing)
3. Enable the Cloud Functions and Google Knowledge Graph Search APIs.
[Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=cloudfunctions,googleapis.com&redirect=https://cloud.google.com/functions/docs/tutorials/ocr)
4. Install and initialize the Cloud SDK. [Manual](https://cloud.google.com/sdk/docs/)
5. Update and install gcloud components:
```
gcloud components update &&
gcloud components install beta
```
6. Prepare your environment for Node.js development. [Guide](https://cloud.google.com/nodejs/docs/setup)
Development
-------------
- npm install
- code changes
- commit & push
Deploy
-------------
- Create bucket (optional only first time): `gsutil mb gs://flat_slack_command`
- Rename .dist files in .credentials folder and fill access info
- Upload: `gcloud beta functions deploy flatCommand --stage-bucket flat_slack_command --trigger-http`
CI Integration
----------------
Coming soon...
- automatic deploy after push with stored credentials in CI to google