milevy1 / koroibos

Elixir Phoenix API of 2016 Olympic athlete data
https://koroibos-elixir.herokuapp.com/api/v1/olympians
1 stars 0 forks source link

Phoenix (Elixir web framework) #16

Closed milevy1 closed 5 years ago

milevy1 commented 5 years ago

Read through tutorial prior to kicking off challenge

https://hexdocs.pm/phoenix/overview.html

  1. mix phx.new app_name - creates new phoenix project

Optional: --no-webpack

  1. Edit config/dev.ex to proper Postgres username/password. Mine was my computer username and no password

  2. cd hello

  3. mix ecto.create== rake db:create

  4. mix phx.server - == rails server