muraine/README.md

39 lines
555 B
Markdown
Raw Permalink Normal View History

2015-03-30 18:09:32 +00:00
# Muraine
> Eat octopussies
Absorb github API events.
See <yannesposito.com> for the blog post.
2015-04-21 18:56:41 +00:00
## INSTALL
2015-11-25 08:10:27 +00:00
1. Install [`stack`](http://docs.haskellstack.org/en/stable/README.html)
2. Install [nats](https://nats.io): `brew install gnatsd`
2015-04-21 18:56:41 +00:00
2. clone the repository
2015-11-25 08:10:27 +00:00
3. `stack setup`
4. `stack build`
2015-04-21 18:56:41 +00:00
## Usage
2015-11-25 08:10:27 +00:00
Launch nats:
2015-04-21 18:56:41 +00:00
```
> gnatsd
```
And in another terminal:
```
2015-11-25 08:10:27 +00:00
> stack exec muraine -- GITHUB_LOGIN GITHUB_PASSWORD
2015-04-21 18:56:41 +00:00
```
This will send the datas to `NATS`.
2015-11-25 08:10:27 +00:00
To read the content you could use `nats-consumer`:
2015-04-21 18:56:41 +00:00
```
2015-11-25 08:10:27 +00:00
> nats-consumer ghevents
2015-04-21 18:56:41 +00:00
```