kiruha3/labalse ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple set of shell scripts to manage a small self hosted web app server.

I want one place to initialize a fresh install, set up the database, load default SQL, and handle first time setup. It should also let me export and import config, make backups, clear old database backups, restore from a backup, and compress Apache logs.

I need a few helper scripts too, like setting the admin password, switching the site domain, setting org data, and changing the app mode. If useful, include support files for configs, upgrades, and OpenSSL so I can generate a CSR and handle local certificate setup.

Keep it practical and easy to run from the command line, with clear prompts or usage notes in the scripts. If anything is unclear, make sensible defaults and look up current shell and Apache or OpenSSL docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab