I just started a full-time job as a Elixir developer .
Previously I worked mostly with Ruby stack and we used a lot Procfile with foreman to start complex applications (e.g. I need to start one job worker, front-end server and the application itself).
Didn’t find anything like this for Elixir projects. Maybe you have tips and/or suggestions how you solve?
Thank you for your answer!
To be honest, I didn’t find an answer for my question. Maybe I missed something.
I understand, that I can replace many things in Elixir which I used in Ruby. But my question is how to run a development environment where I need to run external tools?
Like, in my case, I have one legacy Python application, Python tasks (data analysts tasks) and webpack FE. So I need to run all of them only for dev, because a production deployment is a different story. At the moment there is Makefile, which is not my preferable tool, or I can run everything manually.
unsure what your python deps are - and what are the production deployment? you could include them in the elixir project…
either way for the dev thing maybe look at how https://github.com/joshuafleck/ex_ngrok starts up in the dev env - believe it should be applicable in starting up an external app in dev… (btw - an abstraction of this could be interesting - lots of us are migrating )
For local development you could also install forego globally and it to start the related application. But the best approach depends on how you are running those related applications in production.