Afaik there's no standard way to do this. Maybe docker?
But what I do is just copy all the project files (beam, .app, /priv/ content and some other) files to a different directory and package it application to .deb and .rpm with
https://github.com/jordansissel/fpm/. I have two different config files - one for dev machine, other for the packages, also config file is marked with --config-files attribute so it does not get replaced when package gets installed. All with a single shell script. Then install the package on the server using standard package manager. Installation could be easily automated with a shell script too.
воскресенье, 1 февраля 2015 г., 14:05:18 UTC+3 пользователь Spencer Thompson написал: