Phoenix:Guide:Installation

Installation

  • install elixir and erlang: $ brew install elixir

  • install hex: $ mix local.hex

  • install phoenix: $ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez

  • install node (optional): $ brew install node

    • brunch: compile static assets (which use npm)

    • skip --no-brunch

  • install postgres: $ brew install postgresql

    • install guide

    • switch other db: --database mysql

来源:Phoenix doc

你可能感兴趣的:(Phoenix:Guide:Installation)