Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kracwarlock/medical-store-inventory-management-system
This is my course project for CS315 - Introduction To Database Systems course at IIT Kanpur.
https://github.com/kracwarlock/medical-store-inventory-management-system
Last synced: 23 days ago
JSON representation
This is my course project for CS315 - Introduction To Database Systems course at IIT Kanpur.
- Host: GitHub
- URL: https://github.com/kracwarlock/medical-store-inventory-management-system
- Owner: kracwarlock
- License: mit
- Created: 2013-01-28T13:19:54.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-10T11:15:54.000Z (over 11 years ago)
- Last Synced: 2023-04-06T18:38:35.074Z (over 1 year ago)
- Language: PHP
- Size: 635 KB
- Stars: 26
- Watchers: 8
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Medical Store Inventory Management System
=========================================This is my course project for CS315 - Introduction To Database Systems course at IIT Kanpur.
Instructions To Setup The Project
---------------------------------
1. Rename sample-config.php to config.php and change the variable values inside it.2. Have a MySQL server ready and run the following queries as root:
CREATE USER '$dbuser'@'$dbhost' IDENTIFIED BY '$dbpass';
CREATE DATABASE $db;
GRANT ALL ON $db.* TO '$dbuser'@'$dbhost';
USE $db;
CREATE TABLE CREATE TABLE $dbtable
(
username varchar(15),
password varchar(32),
role varchar(15)
);
Replace the $ variables with the same ones you have used in config.php3. Add users in MySQL
INSERT INTO $dbtable VALUES ('username','password','role');
REPLACE username and password with those which you will give out to the people involved.
The allowed values of 'role' are 'med_admin','receptionist','doctor'