Yeps, that works, but I need something work like this.
mix generate_config name(so I can generate a config before compiling start to update the current config)
MIX_ENV=prod mix compile && MIX_ENV=prod mix release
scp rel/target.tar.bz2 server/name
if I do use db access in Config, I have no idea how argument can be sent into,so I end up with Macro which works good and easier to log with.
在 2016年8月1日星期一 UTC+8下午11:27:42,OvermindDL1写道: