Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 495 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 495 Bytes

RealtimeTest

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Setup PostgreSQL bin/pg-setup.sh
  • Start the server through IEX iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

  • Through the IEX console add a new Pokemon
  %RealtimeTest.Pokemons.Pokemon{} |>
    RealtimeTest.Pokemons.Pokemon.changeset(%{name: Faker.Pokemon.name()}) |>
    RealtimeTest.Repo.insert()