Let me make it as simple as possible. I have developed a diary application, which is split into two sections:

Backend (golang): * Backend application needs a working instance of Mongo running. * Backend needs to be started in order to start using the frontend.

Frontend: * Frontend is a CLI frontend which is written in Python. * Python application needs requests library to function.

I want the thing to be so simple that end-user had to just write appname and it should work.

Here is my situation. I’m not sure how I’m gonna distribute it. How do I make sure is running when the frontend is first accessed.

backend -> mongo backend -> golang app with libraries (mgo, goji)

frontend -> python with library (requests)

I had thought of making two RPMs; for backend and frontend respectively. But that would be too RHEL centric. I’ve also considered docker. But I’m not sure how would that orchestrate and how will end user interact with it.

I want an outline.

submitted by /u/sntshk
[link] [comments]