Deploying REI3
Introduction
REI3 is a free, open-source low-code application platform that enables organizations to build custom business applications without extensive programming knowledge. With a visual builder and pre-built modules, REI3 accelerates digital transformation by empowering business users to create tailored solutions.
Key features of REI3 include:
- Visual Application Builder: Design applications with drag-and-drop interfaces
- Pre-Built Modules: Start with templates for common business needs
- Data Modeling: Create custom data structures and relationships
- Form Designer: Build input forms with validation rules
- Reporting: Generate reports and visualizations
- Role-Based Access: Configure permissions per user or group
- API Integration: Connect with external systems
- Multi-Language: Interface available in multiple languages
- Self-Hosted: Complete control over your data and applications
This guide walks through deploying REI3 on Klutch.sh using Docker, configuring the database, and setting up your low-code platform.
Prerequisites
Before deploying REI3 on Klutch.sh, ensure you have:
- A Klutch.sh account
- A GitHub account with a repository for your REI3 configuration
- A PostgreSQL database
- Basic familiarity with Docker and containerization concepts
Deploying REI3 on Klutch.sh
- Select HTTP as the traffic type
- Set the internal port to 443
- Username:
admin - Password:
admin
Create Your Dockerfile
Create a Dockerfile in your repository:
FROM rei3/rei3:latest
# Environment configurationENV REI3_DB_HOST=localhostENV REI3_DB_PORT=5432ENV REI3_DB_NAME=rei3ENV REI3_DB_USER=rei3ENV REI3_WEB_PORT=443
# Expose the web interfaceEXPOSE 443
# Volume for data persistenceVOLUME /rei3/dataPush Your Repository to GitHub
Commit and push your Dockerfile to your GitHub repository.
Create a New Project on Klutch.sh
Navigate to the Klutch.sh dashboard and create a new project named “rei3-platform”.
Create a New App
Create a new app within your project and connect your GitHub repository.
Configure HTTP Traffic
In the deployment settings:
Set Environment Variables
Configure the following environment variables:
| Variable | Value |
|---|---|
REI3_DB_HOST | Your PostgreSQL host |
REI3_DB_PORT | 5432 |
REI3_DB_NAME | rei3 |
REI3_DB_USER | Your database username |
REI3_DB_PASS | Your database password |
REI3_WEB_PORT | 443 |
Attach Persistent Volumes
Add persistent storage:
| Mount Path | Recommended Size | Purpose |
|---|---|---|
/rei3/data | 10 GB | Application data and uploads |
/rei3/certificates | 1 GB | SSL certificates |
Deploy Your Application
Click Deploy to build and start your REI3 instance.
Access REI3
Once deployment completes, access your REI3 instance at https://your-app-name.klutch.sh. The default admin credentials are:
Change these immediately after first login.
Building Applications
Creating Your First Application
- Log in to the admin panel
- Navigate to “Builder” mode
- Create a new application module
- Define data entities and relationships
- Design forms and views
- Configure user permissions
- Deploy to production
Available Module Types
REI3 supports various pre-built modules:
- CRM: Customer relationship management
- Project Management: Task and project tracking
- Inventory: Asset and stock management
- HR: Human resources management
- Custom: Build from scratch
Additional Resources
Conclusion
Deploying REI3 on Klutch.sh provides a powerful low-code platform with automatic builds, persistent storage, and secure HTTPS access. Empower your organization to build custom business applications quickly, without extensive development resources.