First, clone the repository from GitHub:
git clone https://github.com/TanNguyen01/BookingOnline.git
cd BookingOnline
Next, install the required packages via Composer:
composer install
Install the necessary JavaScript packages:
npm install
# or if you use Yarn
yarn install
Copy the .env.example file to .env:
cp .env.example .env
Edit the .env file to configure the necessary settings (database, mail, etc.).
Generate the application key:
php artisan key:generate
Run the migrate and seed commands to create and initialize the database:
php artisan migrate
php artisan db:seed
Build the CSS and JavaScript files:
npm run dev
# or if you use Yarn
yarn dev
Start the Laravel development server:
php artisan serve
The application will run at http://localhost:8000.
php artisan test
php artisan cache:clear
php artisan optimize
Good luck with your installation and enjoy working with the project!