0% found this document useful (0 votes)
3 views

Task manager - documentation

This guide outlines the steps to set up and run the Task Management application locally, including prerequisites like PHP, Composer, Node.js, and a database server. It details the process of extracting the project, installing dependencies, configuring the environment, and starting the development server. Finally, it instructs users to access the application via a web browser at http://localhost:8000.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Task manager - documentation

This guide outlines the steps to set up and run the Task Management application locally, including prerequisites like PHP, Composer, Node.js, and a database server. It details the process of extracting the project, installing dependencies, configuring the environment, and starting the development server. Finally, it instructs users to access the application via a web browser at http://localhost:8000.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Setting Up and Running the Application Locally

This guide provides step-by-step instructions on how to set up and run the Task Management
application locally on your development environment.

Prerequisites

Before you begin, ensure you have the following installed on your system:

 PHP: Version 7.4 or higher


 Composer: Dependency Manager for PHP
 Node.js and npm: (For compiling assets if using Laravel Mix)
 Database Server: (e.g., MySQL, SQLite, PostgreSQL)
 Web Server: (e.g., Apache, Nginx) or use Laravel's built-in development server

Step 1: Extract the compressed zip

1. Extract the compressed zip


2. Go to the project Folder

cd <project_folder>

Step 2: Install Dependencies

1. Install PHP Dependencies:

composer install

2. Install NPM Dependencies and Compile Assets:

npm install && npm run dev

Step 3: Configure Environment

1. Copy Environment File:


o Duplicate the .env.example file and rename it to .env.

cp .env.example .env

2. Generate Application Key:


o Generate a new application key:

php artisan key:generate

3. Configure Database:
o Update .env file with your database credentials:
DB_CONNECTION=sqlite
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=\absolute\path\to\the\database.sqlite\
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password

4. Run Migrations and Seeders:


o Run database migrations to create tables:

php artisan migrate --seed

Step 4: Start the Development Server

1. Run the Development Server:


o Start the Laravel development server:

php artisan serve

2. Access the Application:


o Open your web browser and go to http://localhost:8000.

Login Page
Task Manager

You might also like