Doodle3D-Slicer/three.js-master/utils/servers/ruby_server.sh
2015-06-12 15:58:26 +02:00

4 lines
160 B
Bash
Executable File

#!/bin/sh
cd `dirname $0`/../../
ruby -r webrick -e "s = WEBrick::HTTPServer.new(:Port => 8000, :DocumentRoot => Dir.pwd); trap('INT') { s.shutdown }; s.start"