# Installation

This dashboard template is based on laravel default template. it was created with:&#x20;

```bash
composer create-project laravel/laravel example-app
```

Before proceeding you’ll need to have the latest stable [PHP](https://www.php.net/), [NodeJS](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) installed on your machine.

## To get started follow these steps

1. Open your favorite console application (Terminal, iTerm, Command Prompt, etc.).&#x20;
   1. Navigate to the `datta-able-laravel/`folder and **Install packages**:
      1. Run command: `npm i,` `npm install` or `yarn install`.
2. To install php packages run command:`composer install`&#x20;
3. To Create database tables run:  `php artisan migrate`
4. To Create database users run:`php artisan migrate --seed`
5. To run the project locally:
   1. Run this command in separate terminal: `php artisan serve`
   2. Run this command in separate terminal: `gulp`
   3. Open <http://localhost:8000> to view it in the browser.&#x20;
6. To builds the app for production `gulp prod-build`. It will create the `public/assets/` folder inside this project directory. It correctly bundles JS and SCSS files in production mode and optimizes the build for the best performance. The build is minified. For Laravel deployment please visit its [documentation](https://laravel.com/docs/8.x/deployment). to compile Laravel JS and scss file run: `npm run prod`.

You can find detailed instructions on using Laravel and many tips in [its documentation](https://laravel.com/docs/8.x).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codedthemes.gitbook.io/datta-laravel/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
