How-To: Database Session Store with Elixir and Plug
See article Database Session Store with Elixir and Plug.
- Phoenix 1.5.4 or later
- Elixir: see section
matrix.elixir
- Erlang: see section
matrix.otp
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Install Node.js dependencies with
npm install
inside theassets
directory - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
$ mix test
$ mix cov
$ mix check [--fix]
$ mix docs
See LICENSE.