2017 © Pedro Peláez
 

library application

image

bookingbat/application

  • Saturday, September 14, 2013
  • by joshribakoff
  • Repository
  • 1 Watchers
  • 1 Stars
  • 15 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 7 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Build Status, (*1)

Online Appointment Booking

Booking Bat allows you to take appointments from your website. Allow your customers to schedule appointments with Booking Bat!, (*2)

Install

Create Project, (*3)

Use composer to install the project, (*4)

composer create-project --stability="dev" bookingbat/application

Install Database, (*5)

Copy database-config.dist.ini to database-config.ini and edit in your appropriate database credentials. Then run install.sql, (*6)

Email queue, (*7)

The application sends emails for appointment confirmations & reminders. These are added to a queue which is then batched. To batch the queue hit the URL /email/send. You may wish to add a cron job to batch out the email queue at predefined intervals., (*8)

Run Tests, (*9)

To run the unit tests simply run, (*10)

./test

Ensure xdebug is enabled for your CLI webserver. With xdebug present, ZF2 redirects do not run if a PHP warning was generated earlier. Without xdebug they do work. Therefore there may be a test failure in Travis CI (which uses xdebug) that you don't see locally, if you don't do this:, (*11)

php --server=localhost:8000 --docroot="public" &
echo '<?php phpinfo();' > public/phpinfo.php
#find the php.ini path and load xdebug like you normally do
ps aux | grep php
# (find the PID of the webserver & kill it, then restart it)

The Versions