Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Installing Comeonin

First we'll need to install comeonin into our Phoenix application through the mix.exs file. We'll also need to include the bcrypt_elixir hex package into our project to provide the hooks into the bcrypt encryption protocol for our password. First, we'll need to modify the mix.exs file in the root of our Vocial application. If you look for the deps function in the file, you'll find a list of tuples that specify the dependencies of our project by their hex package name and the version. Modify that function to include the two new libraries:

  defp deps do    [      {:phoenix, "~> 1.3.0"},      {:phoenix_pubsub, "~> 1.0"},      {:phoenix_ecto, "~> 3.2"},      {:postgrex, ">= 0.0.0"},      {:phoenix_html, "~> 2.10"}, {:phoenix_live_reload, "~> 1.0", only: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content