dwyl / dwylbot

:robot: Automating our GitHub Workflow to improve team communication/collaboration and reduce tedious repetition!
28 stars 7 forks source link

Start server with mix phx.server #178

Open SimonLab opened 6 years ago

SimonLab commented 6 years ago

image

Heroku start the server with mix phoenix.server by default

see:

SimonLab commented 6 years ago

The Procfile has been added however I'm not sure the mix phx.server works correctly on Heroku: image But the server still seems manage to receive some events (despite crashing after)

SimonLab commented 6 years ago

From the doc: https://hexdocs.pm/phoenix/heroku.html#making-our-project-ready-for-heroku Looks like the value load_from_system_env: true could fix the failed to bind to $PORT issue