Installing SaasForgeKit with Docker
This guide explains how to run SaasForgeKit with Docker.
We recommend using Laravel Sail as the local Docker workflow.
For Pro version
Complete Tenancy Mode setup before running migrations.
Prepare project files
Clone the repository:
Lite (open source):
git clone [email protected]:SaasForgeKit/saasforgekit.git
cd saasforgekitPro (requires purchase):
git clone [email protected]:SaasForgeKit/saasforgekit-pro.git saasforgekit
cd saasforgekitInstall dependencies and environment
You can use the setup script first:
composer run setupOr run steps manually:
composer install
cp .env.example .env
php artisan key:generateConfigure tenancy mode
Before running migrations, complete Tenancy Mode (Required).
Install Sail and start containers
Install Sail configuration (if docker-compose.yml is not present):
php artisan sail:installStart containers:
./vendor/bin/sail up -dRun migrations and seed data
./vendor/bin/sail artisan migrate --seedVisit the site
Open:
http://localhostDefault admin login
If you seeded the database, the default admin account is:
Email:
[email protected]Password:
passwordDevelopment commands
Install frontend packages in Sail:
./vendor/bin/sail npm installStart full development stack:
./vendor/bin/sail composer run devBuild production assets:
./vendor/bin/sail npm run build