Open knightstick opened 8 years ago
We could readily make the system into an API. We can add a web server to it, or we could do something with straight TCP.
If you're keen on a web server approach, we can use Plug + Cowboy, there's a neat little guide on the basic wiring here https://elixirschool.com/lessons/specifics/plug/
As far as opinions go, I think implementing a web server really pushes us into developing skills that are usable for 'real work'
developing skills that are usable for 'real work'
Is that a pro or a con? ;)
Maybe I'll take a look into server-ifying it, then we could host it and have our minions look down on us from the cloud...
Total pro, building API and server is our thing right? :)
At the moment, we're getting the minions to do things by running the app with iex, then issuing commands. What are the best ways of asking a minion to do things from "outside"? I.e. do we want to have the application running on a server somewhere, then issues commands from the command-line over an API?
Thoughts @mfeckie ?