Skip to content

Instantly share code, notes, and snippets.

@lolptdr
Last active October 5, 2016 13:27
Show Gist options
  • Save lolptdr/2512dd9afbf6412bab2b864a4089aea2 to your computer and use it in GitHub Desktop.
Save lolptdr/2512dd9afbf6412bab2b864a4089aea2 to your computer and use it in GitHub Desktop.
Notes on installing Elixir, Postgresql, and Phoenix

#Install Elixir, Posgresql, and Phoenix for this repo: https://github.com/dantswain/beanie#

On MacOS Sierra (10.12) with Xcode 8 and node >= 5.0

brew update
brew install elixir
brew install postgresql
createuser postgres --superuser

mix local.hex
mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez

mix deps.get
mix compile
mix ecto.create
mix ecto.migrate
npm install
mix phoenix.server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment