Skip to content

Instantly share code, notes, and snippets.

@ulve
Created February 2, 2016 20:16
Show Gist options
  • Save ulve/e0e5975550a40121fd90 to your computer and use it in GitHub Desktop.
Save ulve/e0e5975550a40121fd90 to your computer and use it in GitHub Desktop.
Run phoenix in production mode
MIX_ENV=prod mix compile.protocols
MIX_ENV=prod PORT=4001 elixir -pa _build/prod/consolidated -S mix phoenix.server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment