mike watkins dot ca : QP application generator

QP application generator

In preparation for Part Two of the on-going QP tutorial, I whipped up a simple script that automates the creation of a QP application skeleton.

The script lives at: http://mikewatkins.ca/software/files/qp/mkqpapp.py

Using it:

mkqpapp.py </path/appname> <http port number>

eg:

cd ~/qp_sites
mkqpapp.py contact 8011

or:

pwd
/tmp
mkqpapp.py ~/qp_sites/contact

Will both create a QP application called "contact" in /usr/home/yourhomedir/qp_sites/contact.

The script makes some assumptions and enforces a certain amount of sanity; the defaults can easily be changed afterwards.