> ## Documentation Index
> Fetch the complete documentation index at: https://docs.larafast.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Start Here for VILT Stack

> Larafast VILT Stack Documentation

Welcome to the **Larafast VILT Stack Documentation**

**Larafast** uses Laravel Framework v11.x, Laravel Jetstream v5.0, Vue 3, TailwindCSS and DaisyUI.

<Tip>
  Haven't gotten Larafast yet? Check here: [https://larafast.com](https://larafast.com)
</Tip>

<Warning>
  Laravel 10.x version can be found under `laravel10` branch
</Warning>

## Installation

<Warning>
  If you have installed the project using the Larafast Installer, you can skip this steps.
</Warning>

To install the project you need to open your terminal and type these commands

### Clone repo and install composer

```bash theme={null}
git clone git@github.com:karakhanyans-tools/larafast.git [YOUR_PROJECT_NAME]
cd [YOUR_PROJECT_NAME]
composer install
```

### Create .env file

```bash theme={null}
cp .env.example .env
```

### Create APP\_KEY

```bash theme={null}
php artisan key:generate
```

### Run migrations

<Tip>
  By default DB\_CONNECTION is set to SQLite, feel free to change it to MySQL or any preferred DB.
</Tip>

To use MySQL as a database, update the .env file with the new database credentials.

```bash .env theme={null}
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db_name
DB_USERNAME=root
DB_PASSWORD=
```

```bash theme={null}
php artisan migrate
```

### Install NPM and Run

```bash theme={null}
npm install
npm run dev
```

### Run Local Server

Laravel comes with a handy artisan serve command to run a local server. Feel free to use Valet or any other local server management tools.

```bash theme={null}
php artisan serve
```

That's it. Visit [http://127.0.0.1:8000/](http://127.0.0.1:8000/) and see your website!

<Warning>
  Don't forget to remove the starter kit's git configs. To do so: `rm -rf .git` - to init fresh git folder later `git remote remove origin`
</Warning>
