Makefile Guide

Quick reference for Wraft Makefile commands

Quick Start

# Check if requirements are met
make check-versions
 
# Complete setup
make setup
 
# Run the app
make run

Environment Setup

# Copy and edit environment file
cp .env.example .env

Common Commands

CommandDescription
make setupComplete development setup
make runStart the application
make testRun tests
make dbSetup database
make docker-upStart Docker services
make docker-downStop Docker services
make check-versionsVerify all dependencies
make troubleshootRun diagnostics
make helpShow all commands
make install-depsInstall system dependencies (auto-detect OS)
make install-deps-ubuntuInstall dependencies for Ubuntu/Linux
make install-deps-macosInstall dependencies for macOS
make install-deps-windowsInstall dependencies for Windows

Troubleshooting

# Check what's wrong
make troubleshoot
 
# Verify versions
make check-versions
 
# Restart Docker
make docker-down && make docker-up

On this page