~ubuntu-branches/ubuntu/wily/julia/wily

« back to all changes in this revision

Viewing changes to ui/webserver/launch-julia-webserver

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-02-06 17:54:29 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130206175429-13br5kqpkfjqdmre
Tags: 0.0.0+20130206.git32ff5759-1
* New upstream snapshot.
* debian/copyright: reflect upstream changes
* debian/rules: update get-orig-source to reflect upstream changes
   + Don't ship nginx
   + Adapt for new configure-random target in deps/Makefile
* Enable build of Tk wrapper.
   + debian/control: add build dependency on tk-dev
   + debian/rules: add tk rule to build-arch
* debian/julia.install: install VERSION and COMMIT files
* no-webrepl.patch: new patch
* Refresh other patches
* Add source override for config.status file under deps/random/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
cd $(dirname $0)
3
 
test -x ../sbin/lighttpd || { echo "Install lighttpd with \"make -C deps install-lighttpd\" " && exit 0; }
4
 
 
5
 
 
6
 
for CANDIDATE in "../lib/lighttpd" "../lib"
7
 
do
8
 
    if [ -d "$CANDIDATE" ]; then
9
 
        MODULE_DIRECTORY="$CANDIDATE"
10
 
        break
11
 
    fi
12
 
done
13
 
 
14
 
if [ -z $MODULE_DIRECTORY ]; then
15
 
    echo "Could not find module directory."; exit 0
16
 
fi
 
3
test -x ../sbin/nginx || { echo "Install nginx with \"make webrepl\" " && exit 0; }
17
4
 
18
5
echo "Connect to http://localhost:2000/ for the web REPL."
19
 
../sbin/lighttpd -D -f ../etc/lighttpd.conf -m $MODULE_DIRECTORY &
20
 
./julia-release-webserver -p 2001 
 
6
../sbin/nginx -c etc/nginx.conf &
 
7
 
 
8
[ x$(uname) = xDarwin ] && (sleep 1 && open http://localhost:2000/) &
 
9
./julia-release-webserver -p 2001
 
10
#gdb --args ./julia-debug-webserver -p 2001
 
11
kill `cat ../logs/nginx.pid`
 
12