Loading
Alexander Letov
This is a live streamed presentation. You will automatically follow the presenter and see the slide they're currently on.
$ mix local.hex
$ mix archive.install hex phx_new 1.4.5
$ mix phx.new taskbuster
$ cd taskbuster
Edit dev.exs
$ mix deps.get # unless already run
$ mix ecto.create
$ mix phx.server
or
$ iex -S mix phx.server
$ mix phx.gen.html Accounts User users name:string username:string:unique email:string:unique password:binary
$ mix ecto.migrate
$ mix phx.gen.html Tasks Task tasks title:string description:text owner_id:references:users assignee_id:references:users
$ mix phx.gen.html Comments Comment comments body:text author_id:references:users task_id:references:tasks