/var/www/html/
├── public/
│ ├── index.php (Main Logic)
│ └── cache/ (Publicly accessible storage)
├── templates/
│ ├── bl_structure.sql
│ └── downloads_structure.sql
├── assets/
│ └── Maker/ (Device Configuration Files)
├── logs/
└── cron/
└── cleanup.php
- Upload: Upload the entire contents of the
serverdirectory to your web host. - Web Root: Point your web server (Nginx/Apache) document root to the
publicfolder. - Permissions: Ensure the
public/cacheandlogsdirectories are writable by the web server:chmod -R 777 public/cache logs
Because you used the automated package_builder.sh, the following complex tasks have been completed for you:
- Database Templates:
downloads_structure.sqlhas been successfully reconstructed and placed intemplates/. - Asset Migration: The
Makerfolder has been automatically extracted from your backup and placed inassets/Maker/.
You do not need to manually copy or rename any files.
Set up a cron job to run every minute to clean up old payload files:
* * * * * php /path/to/server/cron/cleanup.php