#A small canteen demo
-
Front-end
-
Bootstrap
-
Simple OO
-
require JS
-
JQ(offcourse)
-
Back-end
-
Django >=1.4
-
MYSQL
- meal select
- order list
- foods and menu management
- whiteList for auth(for cp intern use )
- exercise support
- food comment/Tag
- user interaction
- web chatroom
- game?? oh my =.=
- prepare database
CREATE DATABASE canteen CHARACTER SET utf8;
CREATE USER 'canteen'@'localhost' IDENTIFIED BY 'canteen';
GRANT ALL ON canteen.* TO 'canteen'@'localhost';
- prepare the virtual env
cd path/to/project
virtual .
source bin/activate
- install the python eggs
cd path/to/project/
pip install -r requirments.rt
- run the code
cd path/to/prepare/canteen
./manager syncdb
./manager runserver
- now,go check the site at locahost
It's a demo based on serveral project,go check it if you want to know more.