2013-10-08 21:52:38 +02:00
|
|
|
# this works with debian style linux
|
|
|
|
PATH=$PATH:~/nodejs/bin/
|
|
|
|
if [ "$(which x-terminal-emulator)" = "" ]
|
|
|
|
then
|
|
|
|
xt=xterm
|
|
|
|
else
|
|
|
|
xt=x-terminal-emulator
|
|
|
|
fi
|
|
|
|
if [ "$(which node)" = "" ]
|
|
|
|
then
|
|
|
|
echo "cannot find nodejs program 'node' in your path"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
$xt -t "central frameserver" -e frameserver/frameserver &
|
2015-02-13 22:53:04 +01:00
|
|
|
$xt -t "webserver" -e "$(which node) displayclient/html/ws_udp.js" &
|
2013-10-08 21:52:38 +02:00
|
|
|
sleep 5
|
2015-02-13 22:53:04 +01:00
|
|
|
chromium-browser displayclient/html/visionneuse.html ||
|
|
|
|
x-www-browser displayclient/html/visionneuse.html &
|
2013-10-08 21:52:38 +02:00
|
|
|
$xt -t "client: plasma" -e "python clients/plasma.py" &
|
|
|
|
sleep 20
|
|
|
|
$xt -t "client: cellular" -e "python clients/cellular.py"
|