This guide walks you through every command needed to get a fully working Boletilandia development environment running on your machine — from cloning the repository to seeing the application live in your browser. The entire stack (PHP backend, Vite asset pipeline, and database) is covered in the steps below.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AndresLopezCorrales/Boletilandia/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure the following are available on your system:- PHP ^8.2 with the
pdo,pdo_sqlite(orpdo_mysql),mbstring,openssl, andtokenizerextensions enabled - Composer (latest stable)
- Node.js and npm (Node 20 LTS recommended — the project was built with Node v20.11.1)
- A database: SQLite (zero-config, default) or MySQL / MariaDB
Setup Steps
Install PHP dependencies
Install all Composer packages, including Laravel 11, Jetstream, Livewire, Sanctum, and DomPDF.
PHP ^8.2 is required. Running
composer install with PHP 8.1 or earlier will fail because composer.json declares "php": "^8.2".Install Node dependencies
Install the JavaScript packages, including Vite, Tailwind CSS, and SweetAlert2.This resolves both
devDependencies (Vite ^5.0, Tailwind CSS ^3.4, @tailwindcss/forms, @tailwindcss/typography, PostCSS, Autoprefixer, Axios) and the production dependency — SweetAlert2 ^11.14.4.Copy and configure the environment file
Create your local Open
.env from the provided example, then generate the application encryption key..env in your editor and update at minimum APP_NAME, APP_URL, and your database credentials. See the Configuration page for a full reference of every variable.Run database migrations
Apply all migrations to create the
users, sessions, cache, jobs, personal_access_tokens, evento, seccion, and asiento tables.Make sure your database is reachable and the credentials in
.env are correct before running this command. The default DB_CONNECTION is sqlite, which will create a file at database/database.sqlite automatically. To use MySQL, set DB_CONNECTION=mysql along with DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD in your .env.Create the storage symlink
Link
public/storage to storage/app/public so that uploaded event images (stored under storage/app/public/imagen_path/) are accessible from the browser.Start the development servers
You need two processes running in parallel: the Laravel backend and the Vite asset server.Open http://localhost:8000 in your browser. Vite will hot-reload CSS and JavaScript changes instantly.