# 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
```
