custom configured jetty appserver
CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
contexts-available
contexts
etc
homebase-data/simplecms-articles
homebase-static
lib
pebbleblog-articles
resources
webapps
wiki-data
.gitignore
README.md
VERSION.txt
deploy-homebase.sh
start-in-tmux.sh
start.ini
start.jar
start.sh

README.md

lispnyc logo

LispNYC's Web Application Server

The highly acclaimed lightweight Jetty webserver is configured for the use with our LispNYC Homebase Webapp, also included is the Pebble Blog and JSP Wiki webapps.

Requirements

Running

After the LispNYC Homebase Webapp has been built and deployed here, just run:

./start

Then hit http://localhost:8000

Jetty Details

The Jetty Webserver executes THREE 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 all the time.

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 also a scaling technique: using Apache or a CDN to serve up static files.

uri path         handled by
--------         ----------
/static/         Jetty WebServer
/blog/           Pebble Blog WebApp
/wiki/           JSP Wiki WebApp
/*               Homebase WebApp

Pebble Details

The super-secret password for the default accounts is password