Skip to content

Automatic meal booking convenient tool for Guangzhou Country Garden School

Notifications You must be signed in to change notification settings

benko789/bookmeal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Bookmeal is a project that helps students in Guangdong Contry Garden School to book their monthly meal conveniently.

Demo: http://bgy.xxx/tools/bookmeal/

Setting Up

Note this project is just for fixed request format of CGS only.

Requirements:

  • PHP server environment
  • Ruby CGI page server env
  • Discuz! forum system

Steps:

  1. put the client directory into a php script executable directory.(below Discuz! root dir is recommended.)
  2. put the the server into any cgi-bin dir.
  3. Adjust the DB_FILE in server/dbaccess.rb to a filename below reead-writable dir.
  4. Adjust the global variable request_url in client/js/script.js to the corresponding request.cgi of the server.
  5. Hard code SITE_ROOT to the client/js/index.php.

Usage

For normal user, there are kind of operations:

  1. Login -> Fill the card numbers & passwords -> Save -> Book
  2. Just fill the info -> Book

License

WTFPL

Copyright

Copyright (c) 2012, Shou & Rix.

About

Automatic meal booking convenient tool for Guangzhou Country Garden School

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published