Welcome to my graduation thesis' repository! The web application was originally deployed, but due to the difficulty of keeping it up-to-date and secure, and also my need to upgrade PHP version on the shared hosting, I decided to take it down in December 2025.
However, that should not stop you from exploring my library system! You can get it up and running on your computer by following these instructions:
- Set up Docker/Podman on your computer
- Clone this repository
- Copy the
.env.examplefile as.env - Run
docker compose up -din the root directory of the repo (wait until the command finishes) - Open the terminal in the
library-phpcontainer- Run
composer install - Run
php artisan key:generate - Run
php artisan migrate --seed
- Run
- Restart the containers from the host's terminal
- Run
docker compose down - Run
docker compose up -d
- Run
Once you're finished, you should be able to access the application on http://localhost:8080. To log in as an administrator, use these credentials:
- Email:
library@example.com - Password:
password
Following are instructions for web deployment as requested by the thesis' assignment.
This website is almost prepared to be deployed, there are just a few things to do before:
- Copy the
.env.examplefile as.env- Update
APP_URLin the app details - Update database credentials for development
- Update opening hours
- Update
- On your development server, run
php artisan migrate - Export your MySQL database
- In the
.envfile, update database credentials once more, this time for production
When deploying the website, do this:
- Upload project files to the hosting service
- Import the exported database to your hosting
- Set up CRON task to visit
/workas frequently as possible - Test everything
- Let the chief librarian create their account and then in MySQL database, users table, update their row with
librarian = 1andadmin = 1