CodeIgniter Cleanup & CI/CD Setup

Job ID: 39853041

Budget: $30 – $50 USD

Our live CodeIgniter website sits only on the server and has grown messy over time. I need you to:

• Stripe out unused libraries, temp files, and any hard-coded credentials.
• Re-organise the folders to follow standard CodeIgniter conventions and add an up-to-date .gitignore.
• Push the cleaned code into a new private GitHub repository and create a straightforward branching model (main / develop / feature-*) so my in-house devs can start committing safely.

With the code under version control, set up a Continuous Integration & Deployment pipeline. I’m happy with GitHub Actions, but if you prefer Jenkins or CircleCI and can justify the choice, that works too. The pipeline should:

1. Trigger on every push to develop and main.
2. Run any existing PHPUnit or CodeIgniter tests (or at least a syntax check if tests are absent).
3. Deploy automatically to our production VPS over SSH when main is updated, using an atomic strategy that avoids downtime.

Final deliverables:
– GitHub repo containing the cleaned project, README, and .gitignore
– CI/CD configuration files committed to the repo
– Deployment script (bash/Ansible/etc.) and environment variables template
– Short hand-over note explaining how to add secrets, manage branches, and roll back if needed

You’ll be given temporary server credentials and full GitHub access. Experience with CodeIgniter, Git, and automated deployments is essential; completing everything within three days is ideal. Moving of a dev site into a subdomain maybe required.