# Installation

{% hint style="info" %}
**System Requirements / Prerequisites**

* Node **24.11.1**
* Composer **2.9.2**
* PHP **8.2.12**
  {% endhint %}

### Installation

1. Navigate to your project folder.

   <pre class="language-bash"><code class="lang-bash"><strong>cd able-pro-laravel-vue/full-version
   </strong></code></pre>
2. Install packages using following two commands.
   * `composer install`
   * `npm install`
3. Update `.env` as per your DB setting

   ```json
   DB_CONNECTION=
   DB_HOST=
   DB_PORT=
   DB_DATABASE=
   DB_USERNAME=
   DB_PASSWORD=
   ```
4. Run the following command to **generate the key**.&#x20;

   ```
   php artisan key:generate
   ```

### Local development

You can run your **development server** using the dev command. This is useful for local development. The development server **automatically detects** changes to files and instantly displays them in all open browser windows.

```bash
npm run dev
```

To serve Laravel, you need to run following command as well in **separate terminal**:

```yang
php artisan serve
```

This will run your local server at **<http://127.0.0.1:8000>** Also, the Terminal shows something like this.

```dart

INFO  Server running on [http://127.0.0.1:8000].

Press Ctrl+C to stop the server
```

### **Deployment for Production**

The assets in your application will be versioned, bundled, and prepared for production deployment when you run the build command:

```bash
npm run build
```


---

# 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://phoenixcoded.gitbook.io/able-pro/vue-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.
