Skip to content

Commit

Permalink
readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
Shou Ya committed Oct 10, 2012
1 parent 23f1d34 commit 831929e
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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](http://sam.zoy.org/wtfpl/)

# Copyright
Copyright (c) 2012, Shou & Rix.




0 comments on commit 831929e

Please sign in to comment.