This is a PHP-based application that allows users to manage buyers, including adding, viewing buyers.
Before you begin, ensure you have met the following requirements:
- PHP: Make sure PHP is installed on your machine. The minimum required version is PHP 7.4.
- Composer: You need Composer to install dependencies. If you don't have Composer installed, download it here.
- Database: A database like MySQL is required.
Follow these steps to set up the project on your local machine:
-
Open your
terminal
or command prompt. -
Navigate to the directory where you want to store your PHP application.
-
Run the following command to clone the repository:
git clone https://github.com/csemazharul/buyer-submission.git
Navigate into the project directory and install the PHP dependencies using Composer:
cd buyer-submission
composer install
Create a new file named .env
in the project root and copy the contents of .env.example
into it:
cp .env.example .env
Set the APP_URL
variable in the .env
file to the URL of the application on your local machine. For example: http://buyer-submission.xyz
.
-
Create a new
database
in your MySQL. -
Update the
.env
file with the newly created database credentials.