ncw is the nodecast worker. Go to http://nodecast.github.com/ncw/
install some debs :
apt-get install g++ make autoconf scons libboost-all-dev libqt4-dev libavahi-compat-libdnssd-devget submodule libraries :
git submodule update --initmake the zeromq lib :
cd externals/zeromq
./configure
make
sudo make installinstall libqxt or your distribution's package libqxt-dev (>= 0.6.2)
cd external/libqxt
./configure
make
sudo make install
sudo echo "/usr/local/Qxt/lib/" >> /etc/ld.so.conf.d/x86_64-linux-gnu.conf
sudo ldconfigmake the mongodb client :
cd externals/mongo-cxx-driver/
scons mongoclientlast, make the nodecast worker :
qmake
make
mkdir ~/bin
cp ncw ~/binLaunch a worker :
ncw --ncs-ip=127.0.0.1 --ncs-port=5569 --node-uuid=your-node-uuid --node-password=your-node-password --worker-type=process --worker-name="ls" --exec="ls" --stdout=true --directory=$HOME/ncw_data/Launch a service :
ncw --ncs-ip=127.0.0.1 --ncs-port=5569 --node-uuid=your-node-uuid --node-password=your-node-password --worker-type=service --worker-name="bttrack" --exec="/usr/bin/bttrack --bind 0.0.0.0 --port 6969 --dfile dstate" --stdout=true --directory=$HOME/ncw_data/contact : fredix at nodecast dot net