A comprehensive, automated installer for ERPNext 15 with HRMS and custom applications
Developed by Tomeku.com - Simplifying ERPNext deployments
ERPNext is a powerful open-source enterprise resource planning platform, known for its flexibility and scalability. However, setting up ERPNext with custom apps can be complex and time-consuming. The Locus Installer eliminates these challenges by providing a fully automated, user-friendly installation script.
- π― Simplified Setup: One-command installation process
- π§ Fully Automated: No manual configuration needed
- π‘οΈ Error Handling: Robust error detection and recovery
- π± User-Friendly: Interactive prompts with validation
- π Reboot Safe: Continues installation after system reboot
- π¨ Modern Interface: Color-coded output for better readability
- Complete ERPNext 15 Installation with HRMS
- Custom Apps Support through apps.json configuration
- Docker-based Deployment for easy management
- Automatic Domain Configuration
- Production-Ready Setup with Traefik reverse proxy
- Interactive Configuration with input validation
- Comprehensive Logging and status reporting
- Ubuntu 20.04+ or Debian 11+ (recommended)
- Minimum 4GB RAM, 2 CPU cores
- At least 20GB free disk space
- Sudo privileges
- Internet connection for downloading packages
wget https://raw.githubusercontent.com/Tomeku-Development/Locus/refs/heads/main/Locus-Installer.sh
chmod +x Locus-Installer.sh./Locus-Installer.shThe installer will prompt you for:
- Admin Email: Your administrator email address
- Site Name: Your domain name (e.g., erp.yourcompany.com)
- Docker Configuration: Custom image settings
After installation, access your ERPNext at:
http://your-site-name.com
If the system reboots during installation:
./Locus-Installer.sh --continueThe installer creates a default apps.json with ERPNext 15 and HRMS. To add custom apps, modify the file before installation:
[
{
"url": "https://github.com/frappe/erpnext",
"branch": "version-15"
},
{
"url": "https://github.com/frappe/hrms",
"branch": "version-15"
},
{
"url": "https://github.com/your-org/custom-app",
"branch": "main"
}
]After installation, use these commands to manage your ERPNext:
# View logs
docker compose -p frappe logs -f
# Stop containers
docker compose -p frappe down
# Start containers
docker compose -p frappe -f frappe-compose.yml up -d
# Access backend shell
docker exec -it frappe-backend-1 bash
# Install additional apps
docker exec -it frappe-backend-1 bash -c "bench --site your-site install-app app-name"The Locus Installer automates these steps:
- System Update: Updates and upgrades the system packages
- System Reboot: Handles reboot and state preservation
- Repository Setup: Clones the frappe_docker repository
- Docker Installation: Installs and configures Docker
- Apps Configuration: Creates and configures apps.json
- Container Building: Builds custom Docker image with your apps
- Easy Install: Downloads and runs the Frappe easy-install script
- Domain Configuration: Configures domain settings automatically
- Container Management: Starts all required containers
- HRMS Installation: Installs and configures HRMS app
You can set these environment variables before running the installer:
export LOCUS_ADMIN_EMAIL="admin@yourcompany.com"
export LOCUS_SITE_NAME="erp.yourcompany.com"
export LOCUS_DOCKER_USER="youruser"
export LOCUS_DOCKER_REPO="erpnext-custom"./Locus-Installer.sh [OPTIONS]
Options:
--continue Continue installation after reboot
--help, -h Show help message1. Permission Denied
# Ensure the script is executable
chmod +x Locus-Installer.sh
# Don't run as root
sudo ./Locus-Installer.sh # β Wrong
./Locus-Installer.sh # β
Correct2. Docker Build Fails
# Check Docker installation
docker --version
docker run hello-world
# Restart Docker service
sudo systemctl restart docker3. Site Not Accessible
# Check container status
docker compose -p frappe ps
# View logs
docker compose -p frappe logs -f4. Domain Issues
# Check domain configuration
cat frappe-compose.yml | grep Host
# Update domain manually
nano frappe-compose.yml- Installation logs: Terminal output during installation
- Docker logs:
docker compose -p frappe logs - ERPNext logs: Inside the container at
/home/frappe/frappe-bench/logs/
- The installer creates a production-ready setup with Traefik reverse proxy
- SSL certificates are automatically handled by Traefik
- Default passwords are generated securely
- Regular security updates are recommended
We welcome contributions! Please see our Contributing Guidelines for details.
git clone https://github.com/tomeku-development/locus-installer.git
cd locus-installer
# Make your changes
./test-installer.sh # Run testsThis project is licensed under the MIT License - see the LICENSE file for details.
- GitHub Issues: Report bugs or request features
- Discussions: Community discussions
- ERPNext Community: Official ERPNext forum
For enterprise support, custom development, or consultation:
- π Website: tomeku.com
- π§ Email: support@tomeku.com
- π¬ Chat: Live chat on our website
- ERPNext Implementation: Full-service ERPNext deployment
- Custom App Development: Tailored applications for your business
- Training & Consultation: Expert guidance and training
- Managed Hosting: Professional ERPNext hosting solutions
- Frappe Team: For creating the amazing ERPNext platform
- Docker Community: For containerization technology
- Open Source Contributors: For continuous improvements
- Installation Time: ~15-30 minutes
- Success Rate: 95%+ on supported platforms
- Downloads: 1000+ installations
- Community: 50+ contributors
- Initial release with full ERPNext 15 support
- HRMS integration included
- Custom apps support
- Docker-based deployment
- Interactive configuration
- Reboot handling
- Production-ready setup