1. Interactive run the project iex -S mix {project name}

  2. recompile recompile inside iex

  3. new project (make project directory with relevant components)

    mix new {project name}
    

Phoenix

  1. Install Link

    1. install specific version mix archive.install hex phx_new 1.6.16
  2. Start a project of Phoenix

    mix phx.new {name of project}

  3. Connect to postgresl

    mix ecto.create

  4. (Model) Link schema to DB

  5. Start a Phoenix server mix phx.server

    1. Wanna change the first page?
      1. {project name}-web-templates-page-index.html.eex
  1. Upgrade phoenix version mix deps.update phoenix