Skip to content

Commit 3d022ee

Browse files
authored
Update README.md
1 parent 7c11b6c commit 3d022ee

1 file changed

Lines changed: 20 additions & 16 deletions

File tree

README.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
1-
# Library-Manager-python-
1+
# Library Manager (python, SQL, and tkinter)
22

33
AVBIL Library Manager
44
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+
89
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 )
1213
Or run “modules.bat” in prerequisites folder
14+
1315
MySQL Requirements
14-
• Database with two tables: Book table and Issue table
16+
• Database with two tables: Book table and Issue table
1517
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+
2023
Authentication
2124
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
2629
Do not change anything if using defaults in MySQL.
30+
2731
How to Launch
2832
Click on launch.bat
2933
OR

0 commit comments

Comments
 (0)