A simple implementation of a Library Management System for the needs of a National School Network. Implemented with Flask framework for the backend(Python language), HTML and CSS styling for the frontend, as well as the Jinja2 templating language provided by the Flask framework.
Our Team: Miltiadis-Georgios Kolovos, Georgios Kokoromytis, Spyridon Jani
sudo apt-get update
sudo apt-get install gitgit --versiongit clone https://github.com/geokoko/Library-Management-Systemcd Library-Management-Systemsudo apt-get update
sudo apt-get install python3
pip3 install -r requirements.txtsudo apt-get update
sudo apt-get install mariadb-serverDuring the installation process, you will be prompted to set a root password for MariaDB. The password is essential for connecting to the database. After this step is completed, start Maria DB service:
sudo systemctl start mariadbYou can also enable Maria DB to start automatically on system boot, and verify that the service is running:
sudo systemctl enable mariadb
sudo systemctl status mariadbsudo apt-get install mysql-client
sudo mysql_secure_installationmysql -u root -pMariaDB [(none)]> source ./database/dmlscript.sql;Download Git from official Git website
Run the downloaded XAMPP installer, Choose the desired installation directory and Select the components you want to install (Apache, MySQL, phpmyadmin, MariaDB)
- Open the XAMPP installation directory (usually 'C:\xampp\htdocs').
- Navigate to the directory where you want to clone the repository.
- Copy the repository's clone URL. You can find it on the repository's main page or by clicking the "Clone" button.
- In the terminal or command prompt, run the following command to clone the repository:
git clone https://github.com/geokoko/Library-Management-SystemIf still needed, download Maria DB from this link
Install Maria DB by running the installer and following instructions.
Navigate on the directory that MariaDB is installed and run the mysql CLI.
cd "C:\path\to\MariaDB\bin"
mysql -u root -pAnd enter password when prompted.
MariaDB [(none)]> source c:\directory_where_the_repo_was_cloned\database\dmlscript.sql;Load the file dmlscript.sql from our repo.
Before running the app, go to the data.yaml file and insert your local database credentials (Your database name, which is librarydbms by default, Your database username, which will be 'root' by default, Your host, which by default will be localhost, and the database password that you inserted during installation. If you inserted no password, leave this field empty).
python3 main.pyThe app will run at http://localhost:5000/. Then Login or Sign Up through our web app.



