The highly acclaimed lightweight Jetty webserver is configured for the use with our LispNYC Homebase Webapp, also included is the Pebble blog webapp.
- Java
- deploy the LispNYC Homebase Webapp
After the LispNYC Homebase Webapp has been built and deployed here, just run:
./start
Then hit http://localhost:8000
The Jetty Webserver executes two webapps:
Because the initial homepage of LispNYC is dynamic, the Homebase Webapp is the main application and thus runs as the main context. This means that by default it intercepts all requests including ones for things like CSS, HTML and images ...which is not what we want.
There are several techniques to handle this, the one we chose is to set up a seperate context for static files and serve it up there. It's a typical scaling technique: using Apache (or something) for static files.
uri path handled by
-------- ----------
/static/ Jetty
/blog/ Pebble Webapp
/* Homebase Webapp
The password for the default accounts is password