Welcome to our Laravel project repository. This README outlines the steps required to set up the project locally and get started with development.
Before you begin, ensure you have the following installed on your system:
- PHP version >= 7.4 (8.0 recommended)
- Composer
- Node.js and npm
You will require to have the database setup in order to run the project. You can find the database file shared here https://drive.google.com/file/d/13xx4VNioN381e9rP84JABC_xJXDs8S2V/view
Download it and import it to your local database manager ensure your local env looks something like this
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=kaddah
DB_USERNAME=root
DB_PASSWORD=- Clone the repository to your local machine:
git clone https://github.com/Tamer7/kaddah.git](https://github.com/Tamer7/kaddah.git- Navigate to the project directory:
cd your-project-name- Install PHP dependencies using Composer:
composer install- Copy the .env.example file to create a .env file and configure your local environment settings:
cp .env.example .env- Start the local development server:
php artisan serveIf you make changes to CSS or JavaScript files, you'll need to re-compile the assets. This project uses Laravel Mix for asset compilation.
- Install JavaScript dependencies using npm:
npm install laravel-mix@latest --save-dev- Compile assets for production:
npm run productionAlternatively, if you are developing and want to compile and watch for changes:
npm run watch