Skip to main content

System Requirements

Before installing MediaStream, ensure your system meets the following requirements:
  • PHP: ^8.2 or higher
  • Node.js: 18.x or higher
  • Composer: 2.x or higher
  • Database: SQLite (default) or MySQL/PostgreSQL

Installation Methods

Choose your preferred installation method:

Development Dependencies

The following development tools are included:

Backend

  • laravel/sail: ^1.41 - Docker development environment
  • laravel/pail: ^1.2.2 - Real-time log viewer
  • laravel/pint: ^1.24 - PHP code style fixer
  • pestphp/pest: ^3.8 - Testing framework
  • mockery/mockery: ^1.6 - Mocking library

Frontend

  • @vitejs/plugin-vue: ^6.0.0 - Vue 3 plugin for Vite
  • typescript: ^5.2.2 - TypeScript support
  • eslint: ^9.17.0 - JavaScript linter
  • prettier: ^3.4.2 - Code formatter
  • tailwindcss: ^4.1.1 - Utility-first CSS framework

Optional: Docker Setup

MediaStream includes Laravel Sail for Docker-based development:
1

Install Sail

Sail is already included in the dependencies. Initialize it:
php artisan sail:install
2

Start containers

./vendor/bin/sail up -d
3

Run migrations

./vendor/bin/sail artisan migrate

Server-Side Rendering (Optional)

MediaStream supports SSR with Inertia.js:
1

Build SSR bundle

npm run build:ssr
2

Start with SSR

composer run dev:ssr
This starts the SSR server instead of the Vite dev server.

Verification

Verify your installation is successful:
  1. Visit http://localhost:8000 in your browser
  2. You should see the MediaStream welcome page
  3. The registration and login links should be visible
If you see the welcome page, congratulations! MediaStream is now installed.

Troubleshooting

Ensure the storage and cache directories are writable:
chmod -R 775 storage bootstrap/cache
Verify your database file exists:
ls -la database/database.sqlite
If using MySQL/PostgreSQL, check your .env database credentials.
Clear the npm cache and reinstall:
rm -rf node_modules package-lock.json
npm install
If port 8000 is taken, specify a different port:
php artisan serve --port=8080

Next Steps

Quick Start

Learn how to create your first series and upload media

Configuration

Configure environment variables and application settings

Build docs developers (and LLMs) love