Emyrk / live.bike

Let's try to have some fun with elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bike

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

My notes

DB Schema

// Updated_at is included
mix phx.gen.schema Entry entries rider_name:string \
  state:string \
  lat:float \
  lng:float \
  bearing:float \
  elevation_gain:float \
  time_elapsed:float \
  total_distance:float \
  battery_percent:float \
  avg_speed:float
mix ecto.migrate

About

Let's try to have some fun with elixir


Languages

Language:Elixir 75.8%Language:CSS 14.7%Language:HTML 5.8%Language:JavaScript 3.6%Language:Makefile 0.2%