Skip to content

kangzoel/LaCMS

Repository files navigation

What is LaCMS?

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.

LaCMS Setup Guide

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;

Useful Tips

Can't add the above SQL function?

Add the below script before the function

DELIMITER //

Can't upload thumbnail?

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

Bug Report

If you've found a bug in this project please email me at sarizu99@gmail.com.

Credits

  • Chaerul Hadad (Frontend design)
  • Bayu Laksono Wahyu Arminsyah (Frontend design)

About

CMS Laravel. Tugas akhir pemrograman web.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published