This is our Last Project for the semester. A system for managing library.
clone and run the script:
git clone https://github.com/faqihboyy/Prjoect-Web.git
chmod +x setup.sh
./setup.sh # run the script
- Fix Some form
- Change theme to dark mode, (Nord theme)
- Improve UI
- Create ChangeLog page
Important
Note for uploading Large File
by default, php (apache2 and php8.3-fpm) limit the size of upload file by 2MB, to increase the limit you can edit your php.ini
files:
php.ini
upload_max_filesize = 100M
post_max_size = 100M
you can check this by the following command in linux shell:
~
❯ php -i | grep post_max_size
post_max_size => 12M => 12M
~
❯ php -i | grep upload_max_filesize
upload_max_filesize => 10M => 10M
To check which php.ini
to edit, you can run:
~
❯ sudo find /etc/php/8.3/ -name php.ini # change with the php version you currently using
/etc/php/8.3/fpm/php.ini # output
/etc/php/8.3/cli/php.ini
/etc/php/8.3/apache2/php.ini
it is recomended to change or edit all of listed php.ini
files.
there are 1 cronjob available for generating a new hash file to be validated, can be triggered with:
php artisan hash:validate
to start cronhjob automaticcaly every minute, run:
php artisan schedule:run
there are one cronjob that run every minute to update hash running in Console\Commands\ValidateHash.php
cronjob can be checked with
$ crontab -l # example
* * * * * cd /path/to/your-laravel-project && php artisan schedule:run >> /dev/null 2>&1
monero:
8AaocxJgCRciXBg5zowkpfDT5uCM6cCcdSbBqwFH4bbja5G4J7SWfnnC6PyjFBUp3p3c19RkRNsAtiRUZ4FVjU9cAnheTNr