Admin Template with Laravel Sample

Admin Template with Laravel Sample

                 Admin Template with Laravel Sample 


Here are the general steps to clone a Laravel project:

  1. Install Git:


  2. Ensure that Git is installed on your machine. Yo u can download it from the official website: Git Downloads.

  3. Clone the Repository: Open a terminal or command prompt and navigate to the directory where you want to clone your Laravel project. Then, run the following command:


  4. Clone the Repository:


  5. Open a terminal or command prompt and navigate to the directory where you want to clone your Laravel project. Then, run the following command:

https://gitlab.com/SoengSouy/admin-template-with-laravel-sample.git

Replace <repository-url> with the URL of your Laravel project's Git repository. You can find this URL on your Git hosting service (GitHub, GitLab, Bitbucket, etc.).

Navigate to the Project Directory:

Change into the project directory using the following command:

cd <project-directory>

Replace <project-directory> with the name of your project directory.

Install Composer Dependencies:

Laravel uses Composer to manage its dependencies. Run the following command to install the necessary dependencies:

composer install

Create a Copy of the Environment File:

Laravel requires an .env file for configuration. Create a copy of the .env.example file and name it .env:

cp .env.example .env

Edit the .env file to set up your database connection and other configuration settings.

Generate Application Key:

Run the following command to generate the application key:

php artisan key:generate

Update Your Database Credentials

After that update your database credentials in your .env file in your project root.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db
DB_USERNAME=root
DB_PASSWORD=#your database password

Migrate Database:

Run the database migrations to create the necessary tables in your database:

php artisan migrate

Serve the Application:

Finally, you can use the following command to start the Laravel development server:

php artisan serve

  1. This will make your application accessible at http://localhost:8000 by default.

Reactions

Post a Comment

2 Comments

  1. HI , I am setup this code but data will not store into database and redirect on same page i.e. register
    Please guide me.
    Thanks

    ReplyDelete
  2. even i m facing same issue

    ReplyDelete

CAN FEEDBACK

Emoji
(y)
:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
x-)
(k)

close