To start server and client, use
make server & make clientTo generate a new ball and send it to the (already running) server, use
make ball- make
- php5-cli
- install and enable curl for php (e.g. php5-curl)
- npm
- nodejs
$ npm installWhile developing it is very helpful to restart the server when files are changed. You can achieve this with the following commands:
$ sudo npm install forever -g
$ forever -w start_service.jsAnd also have a look at the Makefile within the tests-directory.
For development, in addition to the requirements for using BallJS, you will also need
- phpunit