Reputation: 11251
I have binary file compiled using mix release
: bin/app
.
How can I run it using iex
so that I will be attached to process console and will be able to call functions from bin/app
?
Upvotes: 2
Views: 402
Reputation: 121000
There are two ways:
bin/foo start_iex
iex
(for this the application should have been started named.)Assuming the application was run as [email protected]
, and local host is 192.168.1.10
, this would open a remote shell:
iex --name [email protected] \
--remsh [email protected] \
--cookie COOKIE
Upvotes: 3