Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.22 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.22 KB

Installation

  1. Install ØMQ library:

    • Linux (on Debian):

      $ apt-get install libzmq-dev
      
    • OS X (using homebrew):

      $ brew install zeromq
      $ brew tap bertjwregeer/homebrew-compat
      $ brew install cppzmq  # required for rzmq
      
  2. Install Python ØMQ bindings:

     $ pip install pyzmq
    
  3. Install Julia ØMQ bindings:

     $ julia
    
     julia> Pkg.add("ZMQ")
     julia> Pkg.add("Logging")  # required for example only
    
  4. Install R ØMQ bindings:

     $ R
    
     > install.packages("rzmq")
     > install.packages(c("logging", "rjson"))  # required for example only
    
  5. Install supervisord:

     $ pip install supervisord
    

Running

  1. Clone this repository.

  2. Start supervisord using the provided configuration:

     $ supervisord -c zmq-example/supervisord.conf
    
  3. Connect to the supervisor management page

  4. Tail the processes to see the log output.

  5. When finished, shutdown supervisord using supervisorctl:

     $ supervisorctl shutdown