cookbook 'ecto', '= 0.2.0'
ecto (10) Versions 0.2.0 Follow0
Installs, configures, and provides LWRPs for components of Ecto
cookbook 'ecto', '= 0.2.0', :supermarket
knife supermarket install ecto
knife supermarket download ecto
ecto-cookbook
Installs, configures, and provides LWRPs for components of [Ecto](github.com/elixir-lang/ecto)
Supported Platforms
- Ubuntu
Usage
Include ecto in your node's run_list:
{
"run_list": [
"recipe[ecto::default]"
]
}
Runing migrations
First include ecto::default or ecto::migrator in your recipe
include_recipe "ecto::migrator"
Then leverage the ecto_migrate LWRP to run the Ecto migrations found at the given path
ecto_migrate "my_database" do username "my_username" password "secure_password" host "localhost" migrations_path "/path/to/migrations" schema "public" end
Recipes
ecto::default
Installs and configures default components for Ecto
ecto::migrator
Installs and symlinks the migrator binary to /usr/local/bin/migrator
License and Authors
Author:: Jamie Winsor (jamie@vialstudios.com)
Dependent cookbooks
| elixir >= 0.0.0 |
| libarchive >= 0.0.0 |
| github >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of Ecto cookbook