Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AlexanderDamont1/Stratus/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure the following are installed on your system:PHP 8.2+
Required by Laravel 12. Check with
php -v.Composer 2+
PHP dependency manager. Check with
composer -V.Node.js 18+
Required for frontend assets. Check with
node -v.npm
Bundled with Node.js. Check with
npm -v.Git
For cloning the repository. Check with
git --version.Database
SQLite (zero config), MySQL, or PostgreSQL.
Clone the repository
Quick setup
The fastest way to get running is the single setup command:Install PHP dependencies
Runs
composer install to download all packages listed in composer.json into vendor/.Create environment file
Copies
.env.example to .env if .env does not already exist. This file holds your local configuration — database credentials, app keys, etc.Generate application key
Runs
php artisan key:generate to set APP_KEY in your .env. Laravel uses this key for encryption.Run database migrations
Runs
php artisan migrate --force to create all tables (users, cache, jobs, sessions, password reset tokens).Manual setup
If you prefer to run each step individually, or need to customise any part of the process:Create your environment file
.env and configure your database connection. For SQLite (recommended for local dev):.env
.env
Build frontend assets
npm run dev instead. See Local Development for details.Verify the installation
Start the development server:If you set a custom
APP_URL in your .env, use that URL instead.Troubleshooting
Permission errors on storage or cache
Permission errors on storage or cache
Laravel needs write access to
storage/ and bootstrap/cache/. Run:Database connection refused
Database connection refused
For SQLite, make sure the database file exists:For MySQL/PostgreSQL, verify the database exists and your credentials in
.env are correct.APP_KEY not set
APP_KEY not set
If you see an “No application encryption key has been specified” error, run:
Node/npm version mismatch
Node/npm version mismatch
Stratus requires Node.js 18 or higher. Check your version with
node -v and upgrade if needed. Using nvm is recommended for managing Node versions.