~anjan/sxmo-check

e0370b915360010032b1d1761d6cb94c3e481c6e — Anjandev Momi 2 years ago 7af70f4
readme: go-sendxmpp was merged and fix env variable info
1 files changed, 8 insertions(+), 6 deletions(-)

M README.md
M README.md => README.md +8 -6
@@ 8,15 8,17 @@ Make sure the following enivornment variables are set:
```sh
export XMPPIPE_USERNAME=""
export XMPPIPE_PASSWORD=""
TEST="Hello"
CHEOGRAM_NUM=""
PHONE_NUM=""
export TEST="Hello"
export CHEOGRAM_NUM=""
export PHONE_NUM=""
```

I put all these variables into `./.secrets` and `chmod +x ./.secrets`.
Shellspec should automatically source the environmental variables.

You need a cheogram account: https://cheogram.com/

Make sure the following packages are installed:
- go-sendxmpp with this patch https://salsa.debian.org/mdosch/go-sendxmpp/-/merge_requests/4
- go-sendxmpp (latest head and placed into this directory)
  - Specifically we need this patch https://salsa.debian.org/mdosch/go-sendxmpp/-/merge_requests/4
- shellspec

- OLD: not working command	xmppipe --chat "$PHONE_NUM@cheogram.com" <> /tmp/xmpp > /tmp/outdata &