dwyl / phoenix-liveview-chat-example

💬 Step-by-step tutorial creates a Chat App using Phoenix LiveView including Presence, Authentication and Style with Tailwind CSS

Home Page:https://liveview-chat-example.fly.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

nelsonic opened this issue · comments

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

Todo

  • Migrate app to liveview-chat.fly.dev
  • Update deployment docs in README.md
  • DELETE any files related to Heroku deployment
  • Add GIF of working App
  • Update URL in repo settings
  • DELETE Heroku App! ✂️

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

commented

@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: dwyl/app#312

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