A daycare facility management application that allows companies to manage their facilities, employees and their customers. Parents can check the status of thier child, notify the facility of late arrival, and receive time-sensitive updates.
Prerequisites: PHP 5.4+ MySQL 5.6+ Apache 2.2.29+ Windows/Mac/Linux Config file (see below)
- Clone repository in local apache installation directory.
- Create checkin_children database using MySQL command-line tools or MySQLWorkbench.
Default DB settings are:
Name: "checkin_children"
User: "root"
Password: ""
You can change these settings in
CheckinChildren/scripts/models/db/dbCredentials.php
if desired - Create
CheckinChildren/config.php
file by following instructions below. - Run
CheckinChildren/sql/createDatabase.sql
using MySQL command-line tools or MySQLWorkbench. - Run
CheckinChildren/sql/generateTestData.sql
using MySQL command-line tools or MySQLWorkbench. - Point browser at location of local apache installation. (ex.
http://localhost/CheckinChildren
)
You must create a config.php
file in the root directory with machine-specific settings.
This allows for test environement-dependent variables to be set, and configures the site with personal settings.
Simply copy/paste the following code into CheckinChildren/config.php
, and replace each field with your personal settings.
<?php
class Config
{
//Set your personal configurations here.
static $config = array(
// Location of your MySql database
'dbhost' => 'localhost',
// Name of your MySql database
'dbname' => 'checkin_children',
// Local path to your public apache site
'sitepath' => 'http://localhost:63342/CheckinChildren/public/',
// Are you using Windows?
'isWindows' => false,
// Time to use for testing purposes. Should be set to '03/04/2015 15:00' for proper testing.
// Remove this field to use realtime instead.
'test_time' => '03/04/2015 15:00',
// IMPORTANT!! Only set to 'false' for production, since this will actually send emails!
// Should be set to 'true' for any context other than final production.
'suppress_messages' => true
);
}
?>
Documentation for the code can be generated by using phpDocumentor. The included pacakge can be run with the following command: php phpDocumentor.phar -d [root_directory] -t [target_directory]
.
If the generator fails, you may also need to install GraphViz. You can get it in linux from sudo apt-get install graphviz
.
You can also use your own version of phpDocumentor if desired. The latest version has a bug where everything is marked as an error, even when it shouldn't be. Unfortunately, this is out of our control and can only be fixed by the maintainers of the phpDocumentor project.
Alternatively, you can find the latest version of the pre-generated documentation hosted here.
CheckinChildren/project_documentation.pdf
CheckinChildren/tests/httptests/tests/
CheckinChildren/tests/unittests/
Harsh Patel Alex Dahlquist Matt Wallick Nick Samata Olzhas Alipov Elzbad Kennedy