Library Management System
Explore the docs »
Table of Contents
A simple library management system developed as part of the Web Development course at NIT Calicut. For more details, refer the documentation of the project here.
The project is built using the following technologies and frameworks.
To get a local copy of the project up and running, follow these steps.
The project was intended to be used with the LEMP / LAMP stack.
-
Clone the repo
git clone git@github.com/afeedh/libri
-
Specify the root directory of the website in the Nginx/Apache server conf file. A sample Nginx conf file is show below :
server {
listen 80;
root /var/www/html/libri/;
index index.php;
server_name _;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}
-
Use MySQL shell or phpMyAdmin to create a new database.
-
[Optional] Create a MySQL user and grant read/write privileges of the database to that user
CREATE USER 'testuser'@'%' IDENTIFIED BY ']7MtN-lgg@O^';
GRANT ALL PRIVILEGES ON testlibridb.* TO 'testuser'@'%
FLUSH PRIVILEGES;
-
Replace the contents of
/db/conn.php
with your MySQL username, password, server, db name. -
The index file is
index.php
-
Go to
dumps
folder and import the sql dumps to your database usingcat *.sql | mysql -u dbuser -p dbname
If you have used the default Nginx/Apache conf file, you can access your website at http://localhost/
See the open issues for a list of proposed features (and known issues).
Project Link : https://libri.ka.afeedhshaji.me
Distributed under the MIT License. See LICENSE
for more information.