CodeKit Perl Source Code SetupThe 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. 1. Database Schema and Core Record LoadingRead and follow directions for Code Table Setup.Load and test the ck_code table schema definition as well as the core data records. If you want to run the demo load the demo data records as well. 2. Database Connection SetupCustomize 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. The handle should be set up to autocommit.ck_connect.pl is used by ck_admin.pl, ck_demo.pl and by t/test.t. 3. CodeKit.pm InstallationCopy the CodeKit.pm file into a directory on your Perl include path. Or do the makefile thing:$ perl Makefile.PL $ make $ make test # This WILL FAIL unless you have # completed the above steps!!! # make install 4. CodeKit Administration Page SetupYou may wish to customize the ck_admin.pl file to your situation:
5. Demo Page SetupIn order for the demo page to function, you will need to load the demo data records.
|