Quick Start
This is the “Mini Quick Start” - for complete configuration steps, see the Sakai Quick Start Guide.Basic Build
Build Sakai using Maven:Build and Deploy
Deploy Sakai to your Tomcat installation:/path/to/your/tomcat with your actual Tomcat directory path.
Build Profiles
Sakai uses Maven profiles to control what gets built:All Profile (Default)
Builds all standard modules:- Core kernel and APIs
- All standard tools (Assignments, Gradebook, Forums, etc.)
- Web components
- Portal and login
- Admin tools
API Only Profile
Build only API modules for faster compilation:Experimental Profile
Includes experimental and contrib tools:Pack Profiles
Create release artifacts:Build Commands
Full Clean Build
Perform a complete clean build:Skip Tests
Build faster by skipping tests:Build Specific Module
Build only a specific tool or module:Offline Build
Build without checking for updates:Skip Checkstyle
Bypass Checkstyle validation (emergencies only):Deploy to Tomcat
Standard Deployment
Deploy built artifacts to Tomcat:Quick Redeploy
After making changes to a single tool, redeploy just that module:Frontend Build Commands
For web components development:Lint JavaScript
Check code quality:Bundle JavaScript
Create production bundles using ESBuild:Analyze Bundles
Generate bundle analysis:Type Checking
Run Lit analyzer for static type checking:Run Tests
Execute Web Test Runner tests:Running Sakai
Start Tomcat
After deployment, start Tomcat:Access Sakai
Once started, open your browser to:- Username: admin
- Password: admin
Stop Tomcat
Testing Builds
Run Unit Tests
Execute tests for a single module:Run E2E Tests
Run Playwright end-to-end tests:Build Optimization
Parallel Builds
Speed up builds using multiple threads:Maven Daemon
Use Maven Daemon for faster repeated builds:Troubleshooting
Out of Memory
Increase Maven memory:Dependency Issues
Clear Maven cache and rebuild:Port Conflicts
Change Tomcat port inserver.xml:
8080 to another port like 9090.
Next Steps
Tool Development
Learn to develop Sakai tools and modules
Testing Guide
Write and run tests for your code