petal_boilerplate
petal_boilerplate copied to clipboard
deply on fly.io fails
I can't deploy a project I created with this template to fly.io.
Another project I created with mix phx.new
deploys just fine.
love the petal components. Please keep up the great work!
more details and cross-posting here: https://community.fly.io/t/elixir-deploy-fails-phonix-petal-boilerplate/6412
Fly can be a bit temperamental ... many times I've just tried to deploy again and the error disappears. Though in saying that there could actually be a problem - but maybe try deploying at least 3 times over a period of an hour and if that doesn't work I'll dig into it.
Hi!
Thanks for the response. Yeah. I tried several times over several days before I started the thread that I shared above. Sombody responded in the community thread to day. The /rel
folder was missing. I generated but the deploy still fails.
FYI: I can deploy a "generic" phoenix project just fine. IE
-
mix phx.new fo
- cd fo
- fly launch
I have been trying to deploy vanilla petal_boilerplate the whole day with no success.
Strangely nothing shows up in logs, and spinning up a mix release
locally in an identical environment works just fine.
I will try to dig deeper over the coming days.
I don't have time to do it right now, but if someone could:
- create a new project with phx.new and then git init it
- in finder select all the files in this boilerplate, copy them and then go to the folder of the new project and paste (overriding)
- look at the git changes for anything that might be spoiling the release - probably something in prod.exs or runtime.exs