CodeKit PHP 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 PHP source code is in the php directory: CodeKit.php - CodeKit class definition. ck_admin.php - Setup for ck_admin_main.inc. ck_admin_main.inc - CodeKit Administration page. ck_connect.inc - Database connection setup. ck_demo.php - CodeKit demo page. TEST - Run t/test.t t/test.t - Regression testing.CodeKit requires the PEAR DB library or phplib. CodeKit.php SetupCopy the CodeKit.php file into a directory on your php include_path so that your application code can require it.Database Connection SetupYou can customize the ck_connect.inc 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.inc is used by ck_admin.php, ck_demo.php and by t/test.t. CodeKit Regression TestRun the TEST script to test the basic CodeKit class functions.CodeKit Administration Page SetupCustomize the ck_admin.php file to your situation:
Demo Page SetupIn order for the demo page to function, you will need to load the demo data records. |