Admin dashboard in Laravel 8 Full Controller User Management
Hello Dev,
This tutorial will give you an example of how to clone the Laravel project from Github. let’s discuss steps to clone Laravel project from Github. I explained simply about the clone Laravel project from Github. This article goes into detail on the clone Laravel project from Github on the server.
In this tutorial, I will show you step by step how to clone Laravel projects from Github, GitLab, or bitbucket and setup in ubuntu server from scratch. you can easily clone the Laravel 8 project from this post.
So, let's follow below step by step and get done with the clone Laravel app.
Git Clone my Project
1.Run `git clone 'link projer github'
2.Run composer update
3.Run cp .env.example .env or copy .env.example .env
4.Run php artisan key:generate
5.Run php artisan migrate
6.Run php artisan serve
7.Go to link localhost:8000
Step 1: Git Clone Laravel 8
First, clone a new Laravel app just by running the below command in your terminal.
git clone https://gitlab.com/SoengSouy/laravel_dashboard_version13.git
Step 2: Composer Update
Type command in your terminal.
composer update
composer update
Step 3: Update Your Database Credentials
After that update your database credentials in your .env file which is located in your project root.
1. connection databases
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db
DB_USERNAME=root
DB_PASSWORD=#your database password
2. for send mail when fogot password
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your email
MAIL_PASSWORD='your password email'
MAIL_ENCRYPTION=tls
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your email
MAIL_PASSWORD='your password email'
MAIL_ENCRYPTION=tls
Step 4: Make Migration
After adding the migration file now run the migrate command.
php artisan migrate
Step 5:Run
After adding the run file now run the migrate command.
php artisan serve
Tags:
Laravel