Skip to content
On this page

Installation

Laravel is nicely documented to start. Laravel is a new breed of backend build tooling that significantly improves the backend development experience. In this section, we will discuss the Laravel + Blade Template Starter Kit. If you are looking to create any application using laravel and laravel blade templates then you can use this starter kit.

Prerequisite


How do I check my node version?

Run below command in your terminal:

sh
node -v
How do I check my npm version?

Run below command in your terminal:

sh
npm -v
How do I check my php version?

Run below command in your terminal:

sh
php -v
How do I check my mysql version?

Run below command in your terminal:

sh
mysql -V

Make sure output version is LTS version.

TIP

Vite package manager is recommended

Step-1: Getting started

TIP

To get a better understanding of all the files and folders please follow our guide on source files.

  1. Download Dashcode from CodeCanyon.
  2. Extract the downloaded zip file.
  3. Open the extracted folder and copy the dashcode-laravel folder.
  4. Paste the dashcode-laravel folder in your project root directory. For example root directory for XAMPP is htdocs, root directory for Laragon is www, root directory for WAMP is www, root directory for MAMP htdocs. Please find your root directory in case you are using any different software.
  5. Open the terminal and navigate to the project directory.
shell
 cd dashcode-laravel
  1. Run the below commands to serially.

    1. Copy .env.example file and rename it to .env.
    shell
    cp .env.example .env
    
    1. Install composer: It will install the packages.
    shell
    composer install
    
    1. Application key generate: It will generate the application key.
    shell
    php artisan key:generate
    
    1. Migrate the database: It will migrate the tables.

    WARNING

    First create a database.
    Open the `.env` file and update the database credentials
    E.g. 
    
    text
    # .env file
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=dashcode_laravel
    DB_USERNAME=root
    DB_PASSWORD=
    
    shell
    php artisan migrate
    
    1. Seed the database: It will seed the tables.
    shell
     php artisan db:seed
    
    1. Link storage folder.
    shell
    php artisan storage:link
    
    1. Install npm packages
    shell
    npm install
    

    TIP

    For Database backup feature, needed some configuration. See Here

Step-2: Run the app

  • Once you are done with the setup you are ready to run the application. In order to run the application make sure you have all the necessary environments running. This project requires a web server to run. You can run a development server by running this command below in a terminal inside dashcode-laravel folder,
shell
php artisan serve

WARNING

If you are not willing to run this project using php artisan serve command, then make sure your apache and mysql are running. To do so you can use any of the environments like XAMPP, MAMP, Valet, Laragon etc.

Just paste the dashcode-laravel folder in your project root directory. For example root directory for XAMPP is htdocs, root directory for Laragon is www, root directory for WAMP is www, root directory for MAMP htdocs. Please find your root directory in case you are using any different software. After that make sure Apache and MySql are running.

TIP

XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP programming language.

TIP

MAMP is a solution stack composed of free and open-source and proprietary commercial software used together to develop and run dynamic websites on Apple Macintosh computers.

TIP

You can also check Laravel Valet here which is a development environment for macOS minimalists.

  • After running this project inside a server, run this command in a new terminal inside dashcode-laravel folder,
shell
npm run dev
  • If you have followed all the above steps, then your dashcode-laravel should be running fine.

  • For registering new user, please configure you email credentials first in .env file.

text
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

TIP

For Database backup feature, needed some configuration. See Here

TIP

Social Login Configuration. See Here

TIP

Default Credentials.

TIP

If you have any issues regarding installation please follow our guide on getting support for our product.

COPYRIGHT © 2022 Codeshaper, All rights reserved.