Skip to content

serialc/abr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABR - Advanced Batch Routing

Advanced batch routing - a more comprehensive tool than FBR (Friendly Batch Routing)

Installation

It's recommended you do not run this publicly as submitted Google API keys can be exposed.

  1. Create the DB and tables (see sql).
  2. Configure php/constants.php file and rename as php/constants_custom.php
  • You will need to define DB config.
  • Update the main path of the applicatioin.
  • Customize the directories to store various data - also create the directories.
  1. Have all the necessary interfaces for MySQL, PHP, and Apache to communicate and operate.
  • For example: libapache2-mod-php, php7.4-mysql, php-zip, php-curl, php7.4-curl
  • Restart apache if necessary.
  1. Configure CRON to perform tasks:
    # Process requests
    * * * * * /usr/local/bin/php ~/www/abr/php/main.php
    # Request zipping of bundle of queries
    * * * * * /usr/local/bin/php ~/www/abr/php/zip_case_study.php
    # Log drive space usage
    10,40 * * * * /usr/local/bin/php ~/www/abr/php/analytics_data_collector.php
  2. Test the above tasks in command line to check for any errors.
  3. Add a small amount of data to test. Test using live and 'anytime' data.

About

Advanced batch routing - a more comprehensive tool than FBR (Friendly Batch Routing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published