Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iboard/hexpack-examples
Example usage of hex-packages (data_source,bucketier,timewrap,...)
https://github.com/iboard/hexpack-examples
Last synced: 2 months ago
JSON representation
Example usage of hex-packages (data_source,bucketier,timewrap,...)
- Host: GitHub
- URL: https://github.com/iboard/hexpack-examples
- Owner: iboard
- License: other
- Created: 2019-02-24T20:01:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T07:43:35.000Z (4 months ago)
- Last Synced: 2024-10-15T17:19:35.373Z (3 months ago)
- Language: Elixir
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Hexpack Examples
[![Documentation](https://travis-ci.com/iboard/hexpack-examples.svg?branch=master)](https://travis-ci.com/iboard/hexpack-examples)The aim of this repository is to show examples of how my HEX-packages
can be used in a tested manner. This makes this examples for- [data_source][]
- [bucketier][]
- [timewrap][]
- [exconfig][]the first place to look at when you want to use one of these packages
in Elixir.### Configuration
In your `mix.exs` file add the following dependencies (or some of them).
When using `Timewrap`, don't forget to add it as an `extra_application`.# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger,:timewrap],
mod: {HexpackExamples.Application, []}
]
end# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:data_source, "~> 0.1" },
{:bucketier, "~> 0.1" },
{:timewrap, "~> 0.1" }
]
end### Examples
See file `test/hexpack_examples_test.exs`. These are the examples of
usage.[data_source]: https://hexdocs.pm/data_source
[bucketier]: https://hexdocs.pm/bucketier
[timewrap]: https://hexdocs.pm/timewrap
[exconfig]: https://hexdocs.pm/exconfig