dwyl / phoenix-liveview-chat-example

💬 Step-by-step tutorial creates a Chat App using Phoenix LiveView including Presence, Authentication and Style with Tailwind CSS
https://liveview-chat-example.fly.dev/
132 stars 13 forks source link

Chore: Migrate `LiveView Chat` App from `Heroku` to `Fly.io` #86

Open nelsonic opened 1 year ago

nelsonic commented 1 year ago

Sadly, all "free" Heroku Apps will be deleted this month ... ref: https://github.com/dwyl/learn-heroku/issues/52 🤦‍♂️

Todo

LuchoTurtle commented 1 year ago

I've been trying to have a go at this for quite some time.

At first, I was having trouble connecting to the Postgres SQL database due to not having the :ssl configuration present.

** (RuntimeError) SSL connection can not be established because `:ssl` application is not started,
         you can add it to `extra_applications` in your `mix.exs`:

But now I keep getting an error at the end of the deployment phase...

 1 desired, 1 placed, 0 healthy, 1 unhealthy
--> v1 failed - Failed due to unhealthy allocations - no stable job version to auto revert to and deploying as v2 

Will investigate further, I guess

nelsonic commented 1 year ago

@LuchoTurtle this will need to be updated to the latest Phoenix before it can be deployed to Fly.io ... Please consider working on this one instead: https://github.com/dwyl/app/issues/312

LuchoTurtle commented 1 year ago

Pushed #111 nonetheless so anyone can pick up where it was left off 👍