Skip to content

Instantly share code, notes, and snippets.

@alex-hall
Created November 8, 2017 02:48
Show Gist options
  • Save alex-hall/829e3236c6ec3d5215d64774bbfdb0ca to your computer and use it in GitHub Desktop.
Save alex-hall/829e3236c6ec3d5215d64774bbfdb0ca to your computer and use it in GitHub Desktop.
Bootstrapping Phoenix + Elixir
#Install the language
brew install elixir
#Install Elixir package manager
mix local.hex
#Check the version
elixir -v
#Get latest of Phoenix framework
mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
#Scaffolding for new project w/ mysql db
mix phx.new web --database mysql --no-brunch
#Create database tables with ectro ORM
mix ecto.create
#Run Server
mix phx.server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment