Installation & Deployment Guide
This guide covers setting up OpenProject Laravel using Docker Sail for local development and configuration for production.
Local Development with Laravel Sail
System Requirements
- Docker Engine 24+
- Docker Compose v2 (e.g.
docker compose version) - Git
Quick Setup
-
Clone the Repository:
git clone https://github.com/your-username/openproject.git cd openproject -
Environment File:
cp .env.example .env -
Start Containers:
./vendor/bin/sail up -d -
Initialize Database & Demo Seeds:
./vendor/bin/sail artisan migrate --seed -
Compile Frontend Assets:
./vendor/bin/sail npm install ./vendor/bin/sail npm run dev -
Open in Browser:
- Web App: http://localhost
- Database GUI (phpMyAdmin): http://localhost:8080
- Mailpit (Email Sandbox): http://localhost:8025
- MySQL Host Port:
3307(Credentials:sail/password, DB:openproject) - Redis Host Port:
6380
Production Deployment Checklist
- Configure
.env:APP_ENV=productionAPP_DEBUG=false- Set strong
APP_KEYwithphp artisan key:generate - Configure managed MySQL 8.x and Redis instances
- Optimize Laravel:
php artisan config:cache php artisan route:cache php artisan view:cache php artisan event:cache - Run migrations:
php artisan migrate --force - Build assets for production:
npm run build