Skip to content

hczhcz/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Bookstore

This is a online bookstore website.

Requirements

  • PHP 5+
  • MySQL 5.6+
  • Apache 2 (recommended)

Setup

  1. Create a MySQL user and a database schema;
  2. Edit the database configuration in util/config.php;
  3. Open admin/db_test_data.php in your browser to add the example data;
  4. Open index.html and see whether it works;
  5. Copy admin/db_test_data.php to a new file;
  6. Edit the file and add catalogs via db_cat_add();
  7. Open the file;
  8. The website is ready now.

License

The code is released under GPLv3.