Skip to content

Commit 7f2780b

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

1 file changed

Lines changed: 46 additions & 21 deletions

File tree

README.md

Lines changed: 46 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,58 @@
1-
# Library Manager (python, SQL, and tkinter)
1+
<h1 align="center"> Library Manager (python, SQL, and tkinter)</h1>
22

33
AVBIL Library Manager
4-
Software Requirements:
5-
• Python 3.x
6-
• MySQL
7-
• Pip (To install modules)
8-
9-
Python (Required Modules)
10-
• Tkinter ( pip install tk )
11-
• PyMySQL ( pip install pymysql )
12-
• Pillow ( pip install pillow )
4+
-------------
5+
6+
7+
<h3>Software Requirements:</h3>
8+
9+
- Python 3.x
10+
- MySQL
11+
- Pip (To install modules)
12+
13+
<h3>Python (Required Modules)</h3>
14+
15+
- Tkinter
16+
```sh
17+
pip install tk
18+
```
19+
- PyMySQL
20+
```sh
21+
pip install pymysql
22+
```
23+
- Pillow
24+
```sh
25+
pip install pillow
26+
```
27+
1328
Or run “modules.bat” in prerequisites folder
1429

15-
MySQL Requirements
16-
• Database with two tables: Book table and Issue table
30+
<h3>MySQL Requirements</h3>
31+
32+
Database with two tables:
33+
- Book table
34+
- Issue table
35+
1736
Or run these 4 commands in MySQL Commandline Client one by one:
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));
37+
```sql
38+
create database db;
39+
use db;
40+
create table books(bid varchar(20) primary key, title varchar(30), author varchar(30), status varchar(30));
41+
create table books_issued(bid varchar(20) primary key, issuedto varchar(30));
42+
```
43+
<h3>Authentication</h3>
2244

23-
Authentication
2445
Put your MySQL connection details on the credentials.txt in the following format:
25-
HOST
26-
USER
27-
PASSWORD
28-
DATABASE NAME
46+
```
47+
HOST
48+
USER
49+
PASSWORD
50+
DATABASE NAME
51+
```
2952
Do not change anything if using defaults in MySQL.
3053

54+
![image](https://user-images.githubusercontent.com/73988826/133984139-50a13548-b3f9-46fb-8108-d6b248799ac1.png)
55+
3156
How to Launch
3257
Click on launch.bat
3358
OR

0 commit comments

Comments
 (0)