Skip to content

hexterror/dizilibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Dizi Library

Online Library Management System

A Library Management System is a software built to handle the primary
housekeeping functions of a library. Libraries rely on library management
systems to manage asset collections as well as relationships with their
members. Library management systems help libraries keep track of the books
and their checkouts, as well as members’ subscriptions and profiles.

💻 Requirements

Required extensions are written in composer.json.

👨‍💻 Development

default username: admin and password: admin for dizi library default email: student1@library.local and password: password

Note: change the admin password while using for production

Clone repository,

git clone git@github.com:hexterror/dizilibrary.git
# or
git clone https://github.com/hexterror/dizilibrary.git

Set up database configurations by copying credentials.php.example to credentials.php And set those variables.

cp credentials.php{.example,}
# and edit with your editor

For Docker,

Credentials for Docker,

// credentials.php
<?php

return [
    'db_host' => 'db',
    'db_user' => 'root',
    'db_pass' => 'adminhexterror',
    'db_name' => 'library',
];
?>
docker-compose up --build -d

For Linux,

mv library /var/www/html

systemctl restart apache2

For Windows,

Move the content to your apache server directory.

And Done (If you install XAMPP properly.)

🔨 Migrations

Go, where schema.sql is located that is docker/php/schema.sql

cd docker/php

Login to mysql,

mysql --host localhost -P 3306 -D library -u root -p
source schema.sql;

Note: Migrations script is coming soon.

✨ Contributing

Kindly read the guideline before contributing.

🍻 Credits

🖊️ Author

🔗 Links

📝 License

open-sourced under MIT License