The felix webserver is now up and running:

http://184.106.135.43:1234/


This is still very rudimentary (both the server and the website).
A few things don't work. At my end, I sometimes get 
firefox telling me the connection was reset whilst it was loading
a page .. please try it out and let me know if this happens to you***
It NEVER happens when I run it on localhost now, however my
internet connection is very flaky wireless one.

You can now browse the installed Felix system with
a web browser, and examine Felix code, C++ code and headers,
Ocaml code, and Python code all in glorious colour.

In addition, Felix includes, and C++ #includes are hyperlinked
so you can just click on an include and view the target file.
In particular you can browse the whole of /usr/include this
way which is is really cool. [Lurkers out there .. it's worth
building Felix just to build the webserver to run locally! :]

The webserver is built like

flx --static -c tools/webserver
gcc -o tools/mk_daemon tools/mk_daemon.c
tools/mk_daemon tools/webserver --root=/usr/local/lib/felix/felix-1.1.5

It runs on port 1234,

To build Felix after fetching it with git:

fbuild/fbuild-light -O --skip-tests

To install Felix after you have built it do:

sudo cp build/release-optimized/bin/flx /usr/local/bin
sudo flx --test=build/release-optimized --install

To fetch felix do:

git clone git://github.com/erickt/felix.git
submodule init
submodule update

This is a read-only setup, you can't commit.

Oh, I know it's only a small webserver .. but firefox developers
eat your heart out.. that's a ONE LINE command to build a
webserver. (The --static seemed like a good idea for running
a daemon.. the -c says not to run the program).

*** this has been a PITA for ages. Diagnostics verify that Felix is actually
writing the data correctly, the problem continues to appear to be in
Posix socket specification and Linus decision to trash the output buffers
when an async mode socket is closed.

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to