Skip to content

esl/flex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flex

A simple InfluxDB client.

Installation

Add to your deps

deps do
  [
    ...
    {:flex, "~> 0.1"}
    ...
  ]
end

And to your applications (pre Elixir 1.4)

def application do
  [
    applications: [
      ...
      :flex,
      ...
    ],
    ...
  ]
end

Test

You'll need Influx serving locally on port 8086 (see config/config.exs):

docker pull influxdb && \
docker run -d -p 8086:8086 -v influxdb:/var/lib/influxdb influxdb

Then go for a mix test.