CodeKit Perl Source Code SetupLoad and test the ck_code table schema definition as well as the core data records. The proceed with the source code setup and testing. The CodeKit Perl source code is in the perl directory:
CodeKit.pm - CodeKit module definition.
ck_admin.pl - Setup for ck_admin_main.pl.
ck_admin_main.pl - CodeKit Translation Utility.
ck_connect.pl - Database connection setup.
ck_demo.pl - CodeKit Demo page.
t/test.t - Regression testing.
Makefile.PL - Makefile setup.
CodeKit.pm requires the DBI.pm module. The Translation
Utility and the Demo page need the CGI.pm module.
Database Connection SetupYou can customize the ck_connect.pl file to open a database handle to your database. If your application setup has already opened a database handle, use that handle instead of opening a new one.ck_connect.pl is used by ck_admin.pl, ck_demo.pl and by t/test.t. CodeKit.pm SetupCopy the CodeKit.pm file into a directory on your Perl include path. Or do the makefile thing:
$ perl Makefile.PL
$ make
$ make test
# make install
CodeKit Regression TestOnce the code table is set up and loaded and ck_connect.pl is set up run the regression tests on the basic CodeKit module functions:
$ make test
CodeKit Administration Page SetupCustomize the ck_admin.pl file to your situation:
Demo Page SetupIn order for the demo page to function, you will need to load the demo data records. |