- Create Dockerfile downloading pre-compiled binaries - Add CloudronManifest.json with PostgreSQL and localstorage addons - Create README.md with comprehensive low-code platform documentation - Add .env.example for environment configuration - Add CHANGELOG.md for version tracking - Add logo.png (Corteza branding) Corteza is an open-source low-code platform for building database-driven applications without coding. Package includes: - Ubuntu 22.04 base with pre-compiled Corteza binaries (436MB) - PostgreSQL addon for database storage - Localstorage addon for application data - Multi-stage download (simpler than building) - Comprehensive documentation with visual builder examples - Form builder, report builder, page builder examples - User management and permissions documentation Features supported: - Visual app builder with drag-and-drop - Form builder for data entry - Report builder for custom reports - Page builder for application pages - API builder for REST APIs - Workflow automation with triggers - Database-driven applications - Multi-tenancy support - User management with role-based permissions - Record management with import/export - Theme customization - Mobile-responsive design - Audit trail - Security features (row-level permissions) Environment variables: - CORTEZA_VERSION: Corteza version (default: 2022.9.0) - STORAGE_PATH: Data storage path (default: /app/data) - HTTP_ADDR: HTTP address (default: 0.0.0.0:80) - HTTP_WEBAPP_ENABLED: Enable web app (default: true) Ports: - 80: Main HTTP port (web interface) Addons: - PostgreSQL: Database storage - Localstorage: Application data 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
8.2 KiB
8.2 KiB
Corteza Cloudron Package
Description
Corteza is an open-source low-code platform. Build database-driven applications without coding. Visual app builder, workflow automation, and business process management.
Features
Core Capabilities
- Low-Code Platform: Build applications without coding
- Visual App Builder: Drag-and-drop application builder
- Database Integration: Native database connectivity
- Workflow Automation: Automate business processes
- Multi-Tenancy: Support for multiple organizations
- Web-Based: Access from any browser
- Open Source: Full transparency and customization
Corteza Features
- Visual Form Builder: Create forms with drag-and-drop
- Report Builder: Build custom reports visually
- Page Builder: Design application pages with components
- Module System: Extendable module architecture
- Record Management: Database records management
- User Management: Role-based access control
- API Builder: Create APIs visually
- Server-Side Scripting: Advanced custom logic
- Integration Hub: Connect with external services
- Theme Engine: Customize application appearance
- Multi-Language: Built-in i18n support
- Mobile Responsive: Applications work on all devices
- Export/Import: Backup and restore data
- Automation Scripts: Workflow automation
- Security: Row-level permissions
- Audit Trail: Complete action logging
Configuration
Environment Variables
Database (Automatically configured by Cloudron)
CLOUDRON_POSTGRESQL_HOST: PostgreSQL hostCLOUDRON_POSTGRESQL_PORT: PostgreSQL portCLOUDRON_POSTGRESQL_DATABASE: Database nameCLOUDRON_POSTGRESQL_USERNAME: Database usernameCLOUDRON_POSTGRESQL_PASSWORD: Database password
Application Configuration
CORTEZA_VERSION: Corteza version (default: 2022.9.0)STORAGE_PATH: Data storage path (default: /app/data)HTTP_ADDR: HTTP address (default: 0.0.0.0:80)HTTP_WEBAPP_ENABLED: Enable web app (default: true)CORREDOR_ADDR: Corredor address
Ports
- 80: Main HTTP port (web interface)
Addons
- PostgreSQL: Required for database storage
- Localstorage: Used for application data
Usage
1. First Time Setup
- Open Corteza
- Create admin account:
- Username
- Password
- Configure system settings:
- Organization name
- Timezone
- Language
- Verify PostgreSQL connection
2. Create Application
Via Visual Builder:
- Navigate to "Applications"
- Click "New Application"
- Configure:
- Application name
- Module type (CRM, Project Management, etc.)
- Icon
- Description
- Click "Create"
3. Build Forms
Via Form Builder:
- Open application
- Navigate to "Records" → "Forms"
- Click "New Form"
- Drag and drop fields:
- Text fields
- Number fields
- Date pickers
- Select dropdowns
- Checkboxes
- File uploads
- Configure field properties:
- Label
- Name
- Required
- Default value
- Validation
- Save form
4. Create Pages
Via Page Builder:
- Open application
- Navigate to "Pages"
- Click "New Page"
- Drag and drop components:
- Text
- Images
- Forms
- Lists
- Charts
- Buttons
- Configure component properties
- Save page
5. Build Reports
Via Report Builder:
- Open application
- Navigate to "Reports"
- Click "New Report"
- Configure:
- Data source (records)
- Columns
- Filters
- Sorting
- Grouping
- Formatting
- Preview report
- Save report
6. Create APIs
Via API Builder:
- Open application
- Navigate to "API"
- Click "New API"
- Configure:
- API name
- Endpoint
- Method (GET, POST, PUT, DELETE)
- Parameters
- Response format
- Test API
- Save API
7. Automate Workflows
Via Automation:
- Open application
- Navigate to "Automation" → "Triggers"
- Create trigger:
- Event type (record created, updated, deleted)
- Conditions
- Actions (send email, update record, call API)
- Save trigger
- Configure script (if needed)
- Test workflow
8. User Management
Create User:
- Navigate to "Settings" → "Users"
- Click "New User"
- Configure:
- Username
- Password
- Role
- Profile
- Click "Save"
Manage Permissions:
- Navigate to "Settings" → "Roles"
- Create/Edit role
- Configure permissions:
- Access to modules
- Record operations (create, read, update, delete)
- Export/Import
- Admin functions
9. Data Management
Import Data:
- Open application
- Navigate to "Records"
- Click "Import"
- Select file (CSV, Excel, JSON)
- Map columns to fields
- Preview data
- Click "Import"
Export Data:
- Open application
- Navigate to "Records"
- Apply filters (if needed)
- Click "Export"
- Select format (CSV, Excel, JSON, PDF)
- Download exported data
10. Theme Customization
Customize Theme:
- Navigate to "Settings" → "Theme"
- Configure:
- Brand colors
- Logo
- Font family
- Background
- Layout options
- Preview changes
- Save theme
Architecture
┌─────────────┐
│ Browser │
│ (Web UI) │
└──────┬──────┘
│
HTTP Request
▼
┌──────────────┐
│ Corteza │
│ (Go) │
│ Server │
└──────┬──────┘
│
┌────────────┼────────────┐
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ PostgreSQL│ │ Modules │ │ Storage │
│ (Database)│ │ (CRM, │ │ (/data) │
└──────────┘ │ Project, │ └──────────┘
│ etc.) │
└───────────┘
┌──────────┐
│ Web App │
│ (Client) │
└──────────┘
Security
User Authentication
- Multi-user support with role-based access
- Password hashing with bcrypt
- Session management
- SSO support (optional)
Data Protection
- PostgreSQL encryption at rest
- Row-level permissions
- Secure API access
- Audit logging for all actions
Network Security
- TLS/SSL support for secure connections
- API rate limiting
- CORS configuration
- Input sanitization
Troubleshooting
Application Not Loading
- Verify PostgreSQL is running
- Check Corteza service is started
- Review connection settings
- Check browser console for errors
- Review Corteza logs:
docker logs <container>
Forms Not Working
- Verify form permissions
- Check field configuration
- Review browser console for errors
- Clear browser cache
Performance Issues
- Increase memory limit in Cloudron settings
- Optimize database queries
- Review record count
- Consider data archival
Import/Export Failures
- Verify file format is correct
- Check column mapping
- Ensure permissions are correct
- Review file size limits
Documentation
For more information on using Corteza:
Support
For issues and questions: