Created
November 8, 2017 02:48
-
-
Save alex-hall/829e3236c6ec3d5215d64774bbfdb0ca to your computer and use it in GitHub Desktop.
Bootstrapping Phoenix + Elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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