Skip to content

launchscout/live_state_testbed

Repository files navigation

LivestateTestbed

To run the testbed application run the following commands from the live_state/testbed/ directory:

  • Install Livestate testbed elixir dependencies with mix deps.get

  • Install Livestate testbed javascript dependencies with npm install --prefix assets

  • Install dependencies for phx-live-state and build with npm run setup --prefix ../phx-live-state

  • Install dependencies for use-live-state and build with npm run setup --prefix ../use-live-state

  • Build Livestate javascript with mix esbuild default

  • 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