Installation
Local Development Setup:
- Create environment file:
cp .env.example .env - Run the all-in-one setup command:
composer setup - This installs PHP and JS dependencies, generates an app key, runs migrations, and builds frontend assets.
- Create your first user:
php artisan user:create admin@example.com "Admin User" password123 - Start the dev server:
php artisan serve
Get Docker Running:
- Create environment file:
cp .env.example .env - Edit .env and set APP_KEY, APP_ENV=production, APP_DEBUG=false
- Build and start containers:
docker compose up -d --build(ordocker-composefor Docker V1) - Run migrations and create first user:
docker compose exec app php artisan migrate --forcedocker compose exec app php artisan user:create admin@example.com "Admin User" password123