Skip to content

hfiguera/savvy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Savvy

Elixir SDK for Savvy https://www.savvy.io

You need to export the following environment variables with you own values before the Installation step:

  export SAVVY_URL="https://api.test.savvy.io"
  
  export SAVVY_SECRET="YOUSAVVYSECRECT"
  
  export SAVVY_CALLBACK="http://localhost"

after that, you need to put the following configuration in you config files:

config :savvy,
   url: System.get_env("SAVVY_URL"),
   secret: System.get_env("SAVVY_SECRET"),
   callback: System.get_env("SAVVY_CALLBACK")

Installation

The package is available in Hex, and can be installed by adding savvy to your list of dependencies in mix.exs:

def deps do
  [
    {:savvy, "~> 0.1.0"}
  ]
end

The documentation can be found at https://hexdocs.pm/savvy.