A GraphQL-based gateway to interact with Rocket.Chat. Initally providing search functionality.
- copy and fill in env vars
cp .env.example .env - install packages
npm install - run
npm start
Ideally you want this to be managed by a pipeline :)
- Install the secret:
oc process -f openshift/secret.yaml -p TOKEN=<rocketchat auth token> -p USER_ID=<rocketchat user id> | oc apply -f -
- This requires an open PR in your github repo!
cd .pipeline- to build
npm run build -- --pr=<pr num> - to deploy
npm run deploy -- --pr=<pr num> --env=<dev|test|prod>
- you can trigger a build and deploy by running the
bc.yamlanddc.yamltemplates