KLone on Windows (Cygwin)

diakat2000 edited this page Aug 15, 2013 · 2 revisions

Bootstrap Klone 2.x/3.x on Windows with Cygwin

Install Cygwin

Download the Cygwin setup program from: http://cygwin.com/setup-x86.exe (32-bit) or http://cygwin.com/setup-x86_64.exe (64-bit).

Run the installer and follow the instructions. Make sure to check checkboxes make and gcc under “Devel” category and wget under “Web” category.

Build KLone

Run a Cygwin shell and create the top-level Makefile in an empty directory:

$ mkdir klone2
$ cd klone2
$ vi Makefile
... (Makefile follows) ...
KLONE_VERSION = 2.1.1
WEBAPP_DIR = $(CURDIR)/webapp 
include klapp.mk
klapp.mk: ; wget -O $@ -c http://koanlogic.com/klone/klapp-2.0.0.mk

Build all (this will download and compile KLone):

$ make

Start KLone:

$ ./kloned

Fetch the index page:

$ wget http://localhost:8080/