Hotel System Management Project Laravel 10

Hotel System Management Project Laravel 10


Hotel System Management

Hello all,

This tutorial will show you how to clone the Laravel project from Gitlab. let’s discuss the steps to clone the Laravel project from GitHub. I explained the clone Laravel project from GitHub simply. This article goes into detail on the clone Laravel project from Github on the server.

In this tutorial, I will show you how to clone Laravel projects from Github, GitLab, or Bitbucket and set up an Ubuntu server from scratch. you can easily clone Laravel 6, Laravel 7, Laravel 8, Laravel 9, and Laravel 10 projects from this post.

So, let's follow the 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 10

First, clone a new Laravel app by running the command below on your terminal.

https://gitlab.com/SoengSouy/hotel_system_laravel_10.git

Step 2: Composer Update

Type the command in your terminal.

composer update

Step 3: Update Your Database Credentials

After that update your database credentials in your .env file 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

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

Souy Soeng

Souy Soeng

Our website teaches and reads PHP, Framework Laravel, and how to download Admin template sample source code free. Thank you for being so supportive!

Github

Post a Comment

CAN FEEDBACK
close