Hello,
I'm running Mattermost 3.5.1 on an Amazon EC2 instance and I have made some modifications on Mattermost source code (locally, not in the EC2 instance) in order to send usage statistics to New Relic. I tested my version using make run
and everything goes fine (it works as expected), but now I want to build / package this source code to replace the code running on my EC2 instance.
In short: seems to me that I just need to replace /opt/mattermost/bin/platform
file, is it correct? If so, I just want to package my version of Mattermost into this single file (bin/platform
) to deploy to EC2 instance. But how can I generate this file from my source code?
I've seen some pages and questions in the forum, but this doesn't helped me at all:
-
Developer Machine Setup: just explains how to test or how to make cross platform compilation (using
make package
). Since I don't need compile to Mac / Windows, doesn't makes sense to compile to these platforms. Furthermore, I can't compile for Mac version because it's dependencies are available only on Apple computers. - Developer Flow: not helpful at all.
- [Solved] How to build a new install package from source: seems the same I need, but just link to the two links above.
- Building new linux package: seems the same I need, but just tells to use
make run
.
Thanks for your time and awesome software :3