weblocks-install
weblocks-install copied to clipboard
Weblocks installation
An idempotent self contained weblocks (http://weblocks.viridian-project.de/) installation script. The installation process will download a stable version of weblocks (0.8.3), but an optional tip argument can be supplied to download the current development version.
Swank is enabled by default, so one can connect to it from Emacs using Slime for interactive or remote development.
The script attempts to be as idempotent as possible during the install, but more work might be required. It should be considered safe to repeat the script on an already created project.
-
Prerequsite: sbcl (thread enabled, not enabled by default on OSX), curl, tar
-
Usage:
-
Download and install all weblocks dependencies into the project:
install the weblocks stable version
bash install-weblocks.sh ~/path/to/your/project/foobar
or
install the weblocks development version
bash install-weblocks.sh ~/path/to/your/project/foobar tip
-
Compile and run the project:
cd ~/path/to/your/project/foobar && script/server
-
-
Release Notes:
-
All dependencies are required by weblocks except for:
slime-2009-09-12.tar.gz (Swank is started by default on port 4005) osicat-0.6.0.tar.gz linedit-0.16.1.tar.gz terminfo-1.3.tar.gz uffi-1.6.2.tar.gz lift-1.7.0.tar.gz
-
- Removed version checking of osicat in linedit-0.16.1. Apparently osicat-version symbol is no longer available. Version checking should probably done at the asdf level.
-
TODO:
- add sbcl compile script for osx
- check to see if weblocks port is being used during install
-
Contact: [email protected] http://twitter.com/aaronfeng