bitpixel/springcms

Laravel based CMS

dev-master 2025-02-27 10:26 UTC

This package is auto-updated.

Last update: 2025-02-27 10:26:22 UTC


README

Install

  1. Install the package: composer require bitpixel/springcms:dev-master

  2. Remove the default home route from routes/web.php. This route is defined in our package

  3. This package uses the (https://github.com/UniSharp/laravel-filemanager)[https://github.com/UniSharp/laravel-filemanager] package to manage images. Run the following command to publish laravel-filemanager config && assets:

php artisan vendor:publish --tag=lfm_config --force

php artisan vendor:publish --tag=lfm_public --force

This will generate config/lfm.php. Edit this file and set use_package_routes to false.

Update filesystem config: Open config/filesystem.php & change the public disk as follows:

'public' => [
            'driver' => 'local',
            'root' => public_path('/uploads/files'),
            'url' => '/uploads/files',
            'visibility' => 'public',
            'throw' => false,
        ],
  1. Run the project using php artisan serve && open the project in your browser. It should redirect to the /install route. Complete the installation process by following the steps.

Publish docs

Go inside /docs folder then run npm run build && npm run deploy