I’m trying to troubleshoot why some CSS markup is not appearing in my production build. I would like to run the production version of my phoenix application on my laptop to see the final CSS file being served so I can further troubleshoot the situation.
I’m following the docs along but I’m stuck understanding how do I access it in my browser.
I typed in
PORT=4001 MIX_ENV=prod mix phx.server
PORT=4001 MIX_ENV=prod mix phx.server Compiling 19 files (.ex) Generated blank app [info] Access BlankWeb.Endpoint at http://example.com
I typed in my browser
localhost:4001 but no luck.
# Prod.exs config :blank, BlankWeb.Endpoint, url: [host: "example.com", port: 80], cache_static_manifest: "priv/static/cache_manifest.json"
What settings or misunderstanding do I have on getting a production build running on my laptop?