←back to thread

638 points wut42 | 1 comments | | HN request time: 0s | source
Show context
chrismccord ◴[] No.44328933[source]
Phoenix creator here. I'm happy to answer any questions about this! Also worth noting that phoenix.new is a global Elixir cluster that spans the planet. If you sign up in Australia, you get an IDE and agent placed in Sydney.
replies(21): >>44329010 #>>44329145 #>>44329199 #>>44329447 #>>44329669 #>>44329679 #>>44329692 #>>44329699 #>>44329766 #>>44330059 #>>44330099 #>>44330127 #>>44330670 #>>44331525 #>>44331688 #>>44334922 #>>44335271 #>>44336137 #>>44336958 #>>44337485 #>>44344757 #
cosmic_cheese ◴[] No.44330059[source]
How tightly coupled to Fly.io are generated apps?
replies(1): >>44330087 #
chrismccord ◴[] No.44330087[source]
Everything starts as a stock phx.new app which use sqlite by default. Nothing is specific to fly. You should be able to copy the git clone url, paste, cd && mix deps.get && mix phx.server locally and the app will just work.
replies(2): >>44336426 #>>44338511 #
kuatroka ◴[] No.44338511[source]
Does it mean I can build and deploy a SQLite based app on fly.io with this approach without using Postgres? If yes, how does the pricing for the permanent storage ( add) needed for SQLite works? Thanks
replies(1): >>44347819 #
1. chrismccord ◴[] No.44347819{3}[source]
You would need to add a fly volume ($0.15/GB per month of provisioned capacity ), also check out https://fly.io/blog/litestream-revamped/