basit.mp4
Welcome to the basit project! This guide will help you set up your development environment step by step. Get ready for a seamless experience with Laravel, Inertia.js, React, and Shadcn UI.
Before we dive in, ensure you have the following installed on your machine:
- Docker 🐳
- Docker Compose ⚙️
Follow these steps to get the project up and running:
First, clone the repository and navigate into the project directory:
[email protected]:HassanDev13/basit.git
cd basit
Copy the example environment file and adjust the environment variables as needed:
cp .env.example .env
Install the PHP dependencies using Composer within a Docker container:
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php83-composer:latest \
composer install --ignore-platform-reqs
Set up an alias for Sail to make it easier to run commands:
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
To ensure this alias is always available, add it to your shell configuration file (e.g., ~/.zshrc
or ~/.bashrc
) and restart your shell.
Bring up the development environment using Laravel Sail:
sail up -d
Install the necessary JavaScript dependencies using NPM:
sail npm install
Generate a unique application key for your Laravel project:
sail artisan key:generate
Apply the database migrations to set up your database schema:
sail artisan migrate
Optionally, populate your database with initial data:
sail artisan db:seed
To see your update in realtime use
sail npm dev
Your development environment is now up and running! Let's build something awesome together!.
Happy coding! 💻✨
Thank you for your interest in contributing to this project! At this stage, contributions are limited to fixing bugs or improving existing functionality.
Please avoid adding new features unless the project has reached a stable version. If you have a feature idea, feel free to discuss it with me first by contacting me at: 📧 [email protected]
I look forward to collaborating with you!