3
if exist ..\sbin\lighttpd.exe goto lighttpd
4
if exist ..\sbin\nginx.exe goto nginx
4
setlocal enableextensions enabledelayedexpansion
5
call %~dp0prepare-julia-env.bat %*
7
if exist %JULIA_HOME%..\sbin\nginx.exe goto nginx
8
if exist %JULIA_HOME%..\sbin\lighttpd.exe goto lighttpd
7
echo "Please install either lighttpd or nginx into usr/sbin"
11
echo Please install either lighttpd or nginx into usr/sbin
10
start ..\sbin\nginx -c ..\etc\nginx.conf
16
cd %JULIA_HOME%..\sbin
17
start /b nginx -c %JULIA_HOME%..\etc\nginx.conf
14
start ..\sbin\lighttpd -D -f ..\etc\lighttpd.conf -m ..\lib
22
start /b %JULIA_HOME%..\sbin\lighttpd -D -f %JULIA_HOME%..\etc\lighttpd.conf -m %JULIA_HOME%..\lib
18
echo "Connect to http://localhost:2000/ for the web REPL."
19
julia-release-webserver -p 2001
26
echo Connect to http://localhost:2000/ for the web REPL.
27
echo Press Ctrl-C to quit, then answer N to prompt
28
start /b http://localhost:2000/
30
call julia-release-webserver.exe -p 2001
b'\\ No newline at end of file'
33
echo Killing nginx... (this can take a few seconds)
34
for /F "delims=" %%a in (%JULIA_HOME%../sbin/logs/nginx.pid) do taskkill /f /t /pid %%a