Demo phoenix web application to showcase phoenix_storybook.
- Install dependencies with
mix deps.get
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000/storybook
from your browser.
First make sure your demo app is using an up-to-date storybook library:
MIX_ENV=prod mix deps.update phoenix_storybook
Then you can test your release locally with:
MIX_ENV=prod mix release
PHX_SERVER=true _build/prod/rel/phoenix_storybook_demo/bin/phoenix_storybook_demo start
Or go for production instead:
fly deploy --no-cache