MAKE-KLONE-PROJECT(1) | General Commands Manual | MAKE-KLONE-PROJECT(1) |
make-klone-project - manage a KLone based custom Debian package
make-klone-project [options] COMMAND
make-klone-project 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 files under webapp/ and allow creating a Debian package containing the web server and an init.d script to manage it with dpkg-buildpackage.
make-klone-project takes one non-option argument.
make-klone-project create -p myapp -m "Kari Pahula
<kaol@debian.org>"
cd myapp-0.1
(edit any files that require editing, mostly in webapp/)
make-klone-project refresh
dpkg-buildpackage -rfakeroot
sudo dpkg -i ../myapp_0.1_i386.deb
The upside of using this option is that make-klone-project will be agnostic about the working directory, as long as it is somewhere inside the project tree, just like dpkg-buildpackage. The downside is that you run a greater risk of having the clean command cause unwanted data loss, if you happen to have an unfortunately named file in a wrong place.
Your web server will be run as a root, so you will need to use either allow_root or uid and gid options in your etc/kloned.conf.
make-klone-project was written by Kari Pahula <kaol@debian.org>.
16 Sep 2007 |