Permalink
Browse files

Clean up web repl instructions

  • Loading branch information...
1 parent 85a280d commit bffe2363513b837e5fb9c6a5d042c6d7f702199f @ViralBShah ViralBShah committed Feb 20, 2012
Showing with 7 additions and 10 deletions.
  1. +7 −10 README.md
View
17 README.md
@@ -173,7 +173,7 @@ Julia has a web REPL with very preliminary graphics
capabilities. Follow these instructions for setting up the web repl
locally. In external, doing `make install-lighttpd` will download and
build lighttpd. Use the launch-webserver script to start the webserver
-and web-repl.
+and web-repl. Point your browser to `http://localhost:2000/`.
Try `plot(cumsum(randn(1000)))`
@@ -185,20 +185,17 @@ If you want to use your own lighttpd, then the process is something like this:
2) Configure lighttpd
-The config file is /etc/lighttpd/lighttpd.conf:
-- Add "mod_scgi" to server.modules
-- Set server.document-root to point to path_to_julia/ui/website
-- Add something like this to the bottom (you can use whatever port you want):
+The config file is /etc/lighttpd/lighttpd.conf. Add "mod_scgi" to server.modules. Set server.document-root to point to path_to_julia/ui/website. Add something like this to the bottom (you can use whatever port you want):
+
scgi.server = (
".scgi" =>
(( "host" => "127.0.0.1",
- "port" => 1026
+ "port" => 2001
))
)
-3) Start lighttpd and the julia server:
+3) Start lighttpd: sudo /etc/init.d/lighttpd start
- a) sudo /etc/init.d/lighttpd start
- b) your_path_to_julia/julia-release-webserver -p port_num
+4) Start the julia server: your_path_to_julia/julia-release-webserver -p 2001
-4) Open your browser and go to localhost
+5) Point your browser to http://localhost

0 comments on commit bffe236

Please sign in to comment.