|
1 | | -# Library-Manager-python- |
| 1 | +# Library Manager (python, SQL, and tkinter) |
2 | 2 |
|
3 | 3 | AVBIL Library Manager |
4 | 4 | Software Requirements: |
5 | | -• Python 3.x |
6 | | -• MySQL |
7 | | -• Pip (To install modules) |
| 5 | + • Python 3.x |
| 6 | + • MySQL |
| 7 | + • Pip (To install modules) |
| 8 | + |
8 | 9 | Python (Required Modules) |
9 | | -• Tkinter ( pip install tk ) |
10 | | -• PyMySQL ( pip install pymysql ) |
11 | | -• Pillow ( pip install pillow ) |
| 10 | + • Tkinter ( pip install tk ) |
| 11 | + • PyMySQL ( pip install pymysql ) |
| 12 | + • Pillow ( pip install pillow ) |
12 | 13 | Or run “modules.bat” in prerequisites folder |
| 14 | + |
13 | 15 | MySQL Requirements |
14 | | -• Database with two tables: Book table and Issue table |
| 16 | + • Database with two tables: Book table and Issue table |
15 | 17 | Or run these 4 commands in MySQL Commandline Client one by one: |
16 | | -create database db; |
17 | | -use db; |
18 | | -create table books(bid varchar(20) primary key, title varchar(30), author varchar(30), status varchar(30)); |
19 | | -create table books_issued(bid varchar(20) primary key, issuedto varchar(30)); |
| 18 | + create database db; |
| 19 | + use db; |
| 20 | + create table books(bid varchar(20) primary key, title varchar(30), author varchar(30), status varchar(30)); |
| 21 | + create table books_issued(bid varchar(20) primary key, issuedto varchar(30)); |
| 22 | + |
20 | 23 | Authentication |
21 | 24 | Put your MySQL connection details on the credentials.txt in the following format: |
22 | | -HOST |
23 | | -USER |
24 | | -PASSWORD |
25 | | -DATABASE NAME |
| 25 | + HOST |
| 26 | + USER |
| 27 | + PASSWORD |
| 28 | + DATABASE NAME |
26 | 29 | Do not change anything if using defaults in MySQL. |
| 30 | + |
27 | 31 | How to Launch |
28 | 32 | Click on launch.bat |
29 | 33 | OR |
|
0 commit comments