I’m trying to figure out how to deploy my Phoenix app but I’ve been having trouble.
I can’t use edeliver anyways (because I’m on Windows) and now with Distillery I’m getting this error that I can’t figure out or find a solution to online:
==> Assembling release…
==> Building release itsoursecret:0.1.0 using environment dev
==> Failed to copy application: not owner
app dir: _build/dev/lib/phoenix_ecto
target dir: _build/dev/rel/itsoursecret/lib/phoenix_ecto-4.0.0
Once I build it on the relevant OS, how do I deploy the distillery produced files onto my server? I’ve already set all the appropriate env. variables etc.
Use FTP or SCP or whatever datatransfer machanism you prefer. On the target host just cd to where you copied everything and run the commands you’ve seen after the release has been built.