Docs v2.2.0
Installation

Silced works by scanning all of your Blade files, Laravel components, and any other templates for class names, generating the corresponding styles and then writing them to a static CSS file.

1. Prerequisites

2. Download the Package

3. Unzip the Package

  • Extract the contents of the downloaded .zip file to a directory on your computer.

4. Installation

  • This would install all the required packages in the vendor folder.
  • composer install
  • This would install all the required dependencies in the node_modules folder.
  • npm install
  • Please run the below command to generate the new key.
  • php artisan key:generate
  • Check public file if storage folder present then delete it. After run the below command to link storage with application.
  • php artisan storage:link
  • Please fill your DB credentials in the .env file.
  • DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=sliced_laravel
    DB_USERNAME=root
    DB_PASSWORD= 
  • Please fill your email credentials in the .env file.
  • MAIL_MAILER=
    MAIL_HOST=
    MAIL_PORT=
    MAIL_USERNAME=
    MAIL_PASSWORD=
    MAIL_ENCRYPTION=
    MAIL_FROM_ADDRESS="support@sliced.com"
    MAIL_FROM_NAME="${APP_NAME}"  
  • Generates a /dist & libs directory with all the production files.
  • npm run build
  • Please run the following commands to clear all cache from the project.
  • php artisan optimize:clear
  • This will migrate the database tables. For more details visit Click Here.
  • php artisan migrate
  • This will seed the database tables. For more details visit Click Here
  • php artisan db:seed
  • The development server is accessible at http://localhost:8000. To run on other port just run command : php artisan serve --port=8001
  • php artisan serve 
                        
    php artisan serve --port=8001