Installation Methods
Ralph offers multiple installation approaches depending on your environment and requirements:Ubuntu Package (Recommended)
The most stable and production-ready installation method. Ralph provides official Debian packages for Ubuntu 18.04 Bionic and newer versions. Best for:- Production deployments
- Traditional server environments
- Organizations requiring system-level service management
- Python 3.10+ support
- Systemd service integration
- Managed configuration via
/etc/ralph - CLI management tool (
ralphctl)
Docker Installation
Quick deployment using Docker containers with pre-configured services including web server, database, Redis, and nginx. Best for:- Quick evaluation and demos
- Development environments
- Container-based infrastructure
- Isolated deployments
- Pre-built images (
allegro/ralphandallegro/ralph-static-nginx) - Docker Compose orchestration
- Minimal configuration required
- Easy scaling and updates
Prerequisites
Before installing Ralph, ensure you have:System Requirements
- Operating System: Ubuntu 18.04+ (for package installation) or any OS with Docker support
- Python: 3.10 or 3.11 (for Ubuntu installation)
- Database: MySQL 5.7+ or PostgreSQL
- Memory: Minimum 2GB RAM (4GB+ recommended for production)
- Disk Space: Minimum 10GB
Required Services
- Database Server: MySQL 5.7+ or PostgreSQL for data storage
- Redis: For caching and background task queue
- Web Server: Nginx (for production deployments)
What’s Next?
After installation, you’ll need to:- Configure Ralph - Set up database connections, Redis, and other settings
- Initialize the Database - Run migrations and create the schema
- Create Admin User - Set up your first superuser account
- Configure Services - Set up systemd services or Docker containers
Ubuntu Installation
Install Ralph using Debian packages on Ubuntu
Docker Installation
Deploy Ralph using Docker containers
Configuration
Configure Ralph for your environment
Data Migration
Migrate data from Ralph 2 or other sources
Getting Help
If you encounter issues during installation:- Visit the Ralph Community Forum
- Check the GitHub Issues
- Review the troubleshooting section in each installation guide