An open API service indexing awesome lists of open source software.

https://github.com/mrblueblue/bird

craigslist apartment scraper and slackbot written in elixir
https://github.com/mrblueblue/bird

craigslist elixir scraper scraping

Last synced: 12 months ago
JSON representation

craigslist apartment scraper and slackbot written in elixir

Awesome Lists containing this project

README

          

# Bird

Craiglist apartment scraper and slackbot written in Elixir

## Running

Before running, create a `.env` file with your Slack API Token:

```
export SLACK_TOKEN=""
```

Then run:

```bash
source .env
```

### Development

```bash
mix deps.get
iex -S mix
```

### Production

```bash
mix deps.get
mix release --verbose --env=prod
rel/bird/bin/bird migrate
rel/bird/bin/bird start
```

### Docker

```bash
docker-compose up -d --build
docker-compose run scraper ./bin/bird migrate
docker-compose run scraper ./bin/bird foreground
```