Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
# library book reissue automation

## features
-> Automatically reissues the book if today is the due date of returning the book
## FEATURES
* Automatically reissues the book if today is the due date of returning the book

-> can be run from terminal from anywhere
* can be run from terminal from anywhere

-> username and password have to be entered at first run only
* username and password have to be entered at first run only

## Installation
## INSTALLATION

clone the repository and run terminal inside the repository
Either clone or download the repository.

to clone

`git clone https://github.com/shubham7298/Library-Automation`

enter the repository

`cd Library-Automation`

run installation file

`bash install`
`sudo bash install`

##running
## RUNNING

open terminal anywhere

Expand Down
9 changes: 5 additions & 4 deletions python/install
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
echo "Run this command as sudo.";
#!/bin/bash
sudo cp -r reissue_book /usr/bin/;
sudo cp reissue /usr/bin/;
sudo chmod 777 /usr/bin/reissue;
sudo chmod 755 /usr/bin/reissue;
sudo pip3 install selenium;
echo "Done";
echo "#################################"
echo "Library Automation tool successfully installed";
echo "Type 'reissue' anywhere on terminal screeen :)"
1 change: 1 addition & 0 deletions python/reissue
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#!/bin/bash
python3 reissue_book/Library_college.py
2 changes: 1 addition & 1 deletion python/reissue_book/Library_college.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#!/usr/bin/python3
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from builtins import input
Expand Down