make-klone-project - manage a KLone based custom Debian package
is a tool to create and manage custom webserver packages that use
KLone, a framework that integrates a web site with possibly dynamic
content and a web server into a single binary.
The aim is to let the author to focus on editing the site specific
and allow creating a Debian package containing the web server and an
init.d script to manage it with
takes one non-option argument.
Create a new project directory,
and seeds it with KLone's source and a debian/ directory.
Remove all non-user created files and directories ie. everything but
See also the
Cleans the project directory as with
and reseeds the KLone source and the debian/ directory.
make-klone-project create -p myapp -m "Kari Pahula <email@example.com>"
(edit any files that require editing, mostly in webapp/)
sudo dpkg -i ../myapp_0.1_i386.deb
Name the created web server binary as
If not specified the package name is used.
Look for the project root directory in
commands by changing the working directory to the parent directory
until they find a file named
in the current directory. Returns with error if none is found.
Without this option, only the current directory is checked for this
The upside of using this option is that
will be agnostic about the working directory, as long as it is
somewhere inside the project tree, just like
The downside is that you run a greater risk of having the
command cause unwanted data loss, if you happen to have an
unfortunately named file in a wrong place.
Sets the maintainer name as
Set the package name as
Only effective with the
command. If not specified, uses
A custom description for the package. Should be formatted like the
corresponding field in the
The options set in prior calls to
The user specified site tree, to be imported as the site by KLone.
Your web server will be run as a root, so you will need to use either
options in your