2 ms·
I recently deployed a Phoenix LiveView app[1] on a shared-cpu-2x 512MB fly machine[2]. Configuration and deployment was non-trivial with their CLI. I ran `fly l
by hbcondo714 3y ago
I recently deployed a Phoenix LiveView app[1] on a shared-cpu-2x 512MB fly machine[2]. Configuration and deployment was non-trivial with their CLI. I ran `fly launch`[3] which auto-detected the project's codebase as a Phoenix app which then auto-generated a Dockerfile with support for rust NIF built using rustler so I didn't have to do anything extra to support the project's rust dependency. Overall, it was a convenient experience and wanted to share.
[1] https://github.com/hbcondo/last10k_liveview https://github.com/hbcondo/last10k_liveview
[2] https://fly.io/docs/about/pricing/#apps-v2-and-machines https://fly.io/docs/about/pricing/#apps-v2-and-machines
[3] https://fly.io/docs/elixir/getting-started/existing/ https://fly.io/docs/elixir/getting-started/existing/