Skip to content

This open-source project helps you effortlessly manage your financials, providing accurate insights into your sales, expenses, and profits for better decision-making and business control.

Notifications You must be signed in to change notification settings

HassanDev13/basit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 basit Setup Guide

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.

Prerequisites 📋

Before we dive in, ensure you have the following installed on your machine:

  • Docker 🐳
  • Docker Compose ⚙️

Installation Steps 🛠️

Follow these steps to get the project up and running:

1. Clone the Repository 🧬

First, clone the repository and navigate into the project directory:

[email protected]:HassanDev13/basit.git
cd basit

2. Configure Environment Variables 🔧

Copy the example environment file and adjust the environment variables as needed:

cp .env.example .env

3. Install PHP Dependencies with Composer 📦

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

4. Create a Sail Alias for Convenience 🚤

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.

4.1 Start the Development Environment 🚀

Bring up the development environment using Laravel Sail:

sail up -d

5. Install JavaScript Dependencies 🌐

Install the necessary JavaScript dependencies using NPM:

sail npm install

6. Generate the Application Key 🔑

Generate a unique application key for your Laravel project:

sail artisan key:generate

7. Run Database Migrations 📂

Apply the database migrations to set up your database schema:

sail artisan migrate

8. (Optional) Seed the Database 🌱

Optionally, populate your database with initial data:

sail artisan db:seed

9. Run the dev 🌱

To see your update in realtime use

sail npm dev

You're All Set! 🎉

Your development environment is now up and running! Let's build something awesome together!.

Happy coding! 💻✨

Contribution Guidelines

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!

About

This open-source project helps you effortlessly manage your financials, providing accurate insights into your sales, expenses, and profits for better decision-making and business control.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages