-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
walkeriniraq edited this page Apr 21, 2013
·
9 revisions
Kul is designed to be as simple as possible to start working with. Assuming you have ruby or JRuby installed, simply run
gem install kul
kul server
to get the latest version of the gem and start the Kul server in development mode in the current directory.
Yeah, that's really it.
In the folder you started Kul, create a file named 'index.html' and add this markup:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Kul simple example</title>
</head>
<body>
This is my Kul server!
</body>
</html>
Save the file and browse to http://localhost:4567 and observe that you've just built a web page. Feel free to modify and refresh - note that you don't have to restart the server in order to see changes.
Yay! We've just demonstrated what Apache could do in 1998! Okay, you want to see something more interesting.
In that same