Skip to content

BugCake is an open source minimalistic bug tracker, developed in the CakePHP framework.

License

Notifications You must be signed in to change notification settings

chetanspeed511987/BugCake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BugCake Plugin for CakePHP

BugCake is an open source minimalistic bug tracker, developed in the CakePHP framework. This is the plugin of the master branch.

Pictures

Build Status Picture 1 Picture 2

###Instructions Do not forget to load the plugin in your bootstrap.php file. You can do that just by adding

CakePlugin::loadAll();

Then, access the plugin controllers as in the example: http://host/bug_cake/issues

Installation

It is highly extendable, like any CakePHP web app. By default it makes use of the MySQL database, which you have to correctly set when installing the web app: Rename app/Config/database.php.default to app/Config/database.php and change the following sniper, according to your database server credentials:

public $default = array(
        'datasource' => 'Database/Mysql',
        'persistent' => false,
        'host' => 'localhost',
        'login' => 'user',
        'password' => 'password',
        'database' => 'database_name',
        'prefix' => '',
        //'encoding' => 'utf8',
);

After that, you should create the MySQL tables into your database. The recommended structure is the following:

CREATE TABLE IF NOT EXISTS `issues` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`title` VARCHAR(50) DEFAULT NULL,
`body` text,
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
`comment_id` INT(11) NOT NULL,
`author` VARCHAR(255) NOT NULL,
`answers` INT(11) NOT NULL,
`state` INT(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8_unicode_ci AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `users` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`username` VARCHAR(50) DEFAULT NULL,
`password` VARCHAR(50) DEFAULT NULL,
`role` VARCHAR(20) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
`email` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8_unicode_ci AUTO_INCREMENT=1 ;

In the app/Controller/UsersController.php file, we have a company-inside limitation for users' registration (we require LubbleUp corporate e-mail accounts), which is be default commented out. Though, we recommend to use it so that is suits your needs if you use it in an enterprise-level environment.

Contact: talk2us@lubbleup.com

About

BugCake is an open source minimalistic bug tracker, developed in the CakePHP framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published