Note : on Ruby 1.8.7 you must install minitest first :

   gem install minitest


1°/ install the code on your machine

    git clone git://github.com/alainravet/client-server-two-byte-calculator.git
    cd client-server-two-byte-calculator


2°/ launch the server :

    Server (Calculator) :
        > <open 1 console>
        > cd client-server-two-byte-calculator
        > ruby server.rb

3°/ launch the client :

    Automated Client with a few sample operations :
        > <open 1 console>
        > cd client-server-two-byte-calculator
        > ruby client.rb

 or :

    Interactive Client :
        > <open 1 console>
        > cd client-server-two-byte-calculator
        > telnet localhost 6666
          # type commands here
          # ex: PLUS 1 2 3
          # end with "OK CLOSE"

------
How to run the tests :

    > cd client-server-two-byte-calculator
    > rake test