GithubHelp home page GithubHelp logo

rodrickmakore / checkinchildren Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harshpatel991/checkinchildren

0.0 1.0 0.0 47.53 MB

UIUC CS428/429 FA15 Project - A multi-tenant SaaS for daycare centers to check in students and notify parents via text and email

PHP 76.25% HTML 1.07% Shell 0.39% JavaScript 13.32% CSS 8.96%

checkinchildren's Introduction

Checkin Children

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.

Installation

Prerequisites: PHP 5.4+ MySQL 5.6+ Apache 2.2.29+ Windows/Mac/Linux Config file (see below)

  1. Clone repository in local apache installation directory.
  2. 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
  3. Create CheckinChildren/config.php file by following instructions below.
  4. Run CheckinChildren/sql/createDatabase.sql using MySQL command-line tools or MySQLWorkbench.
  5. Run CheckinChildren/sql/generateTestData.sql using MySQL command-line tools or MySQLWorkbench.
  6. Point browser at location of local apache installation. (ex. http://localhost/CheckinChildren)

Configuration File

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
        );
    }
?>

Generating Code Documentation

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.

Full Documentation

CheckinChildren/project_documentation.pdf

HTTP Tests

CheckinChildren/tests/httptests/tests/

Unit Test

CheckinChildren/tests/unittests/

Contributors

Harsh Patel Alex Dahlquist Matt Wallick Nick Samata Olzhas Alipov Elzbad Kennedy

checkinchildren's People

Contributors

harshpatel991 avatar mwallic2 avatar nsamata avatar pianoajd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.