To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/YonesSohrabi/shahab.git
-
Navigate to the project directory:
cd shahab
-
Install dependencies:
composer install
-
Set up your environment file:
cp .env.example .env
Make any necessary changes to the
.env
file for your environment. -
Generate an application key:
php artisan key:generate
-
Run database migrations:
php artisan migrate
-
Seed the database (optional):
If your project includes seeders, you can run them to populate the database with sample data.
php artisan db:seed
-
Start the development server:
php artisan serve
You can now access your project at http://localhost:8000.
-
(Optional) Configure Docker (if applicable):
If you prefer to use Docker for local development, follow the instructions in the Docker section below.
Once the project is set up and running, you can start using it. Here are some common tasks:
- Accessing the application: Open your web browser and navigate to http://localhost:8000 to access the application.
- Logging in (if applicable): If your application requires authentication, you may need to register for an account or use default login credentials.
- Exploring features: Take some time to explore the features of the application and familiarize yourself with its functionality.
If you prefer to use Docker for local development, follow these steps:
-
Build the Docker containers:
docker-compose build
-
Start the Docker containers:
docker-compose up -d
-
Access the application:
Once the containers are up and running, you can access your application at http://localhost:8080.