LaCMS is a Content Management System which is built with laravel framework. LaCMS made by Samsul Arif Zulvian for the purpose of coursework in Singaperbangsa University.
Clone this repository
git clone https://github.com/sarizu99/LaCMS.git LaCMS
Install vendor packages
cd LaCMS
composer install
Link the uploaded file
php artisan storage:link
Install node modules
cd public
npm install
Make sure to add the following function in your database in order to make the snippet works properly
CREATE FUNCTION `strip_tags`($str text) RETURNS text
BEGIN
DECLARE $start, $end INT DEFAULT 1;
LOOP
SET $start = LOCATE("<", $str, $start);
IF (!$start) THEN RETURN $str; END IF;
SET $end = LOCATE(">", $str, $start);
IF (!$end) THEN SET $end = $start; END IF;
SET $str = INSERT($str, $start, $end - $start + 1, "");
END LOOP;
END;
Add the below script before the function
DELIMITER //
If you can't upload image thumbnail, it's because the limitation of your maximum upload file size in php setting. You can address it by modifying php.ini file and set the new setting for that. Example:
upload_max_filesize=20M ; You can change the 20M to the desired max file size
If you've found a bug in this project please email me at sarizu99@gmail.com.
- Chaerul Hadad (Frontend design)
- Bayu Laksono Wahyu Arminsyah (Frontend design)