Jump to content

MampWire: a small MAMP Pro + ProcessWire dev installer for ChatGPT Codex mode


Recommended Posts

Posted

Hi everyone,

I made a small helper called MampWire for quickly creating local ProcessWire development sites with MAMP Pro on macOS.

Repository: https://github.com/mxmsmnv/MampWire

The idea is simple: you create the site/domain manually in MAMP Pro, point it to an empty local folder, open that folder in the ChatGPT desktop app in Codex mode, and ask it to install MampWire.

Example prompt:

Install https://github.com/mxmsmnv/MampWire

MampWire then:

  • downloads the ProcessWire dev branch
  • creates a MySQL database through the MAMP CLI
  • creates a dedicated database user, instead of using root for the site
  • runs the ProcessWire CLI installer
  • generates a local admin path and login
  • saves credentials to .local/admin.md

It also reads MAMP-generated config files to detect things like MySQL port and local web ports, so it should work with common MAMP Pro setups without hardcoding everything.

Typical result:

Site URL: https://example.test/
Admin URL: https://example.test/aoife/

Admin user: aoife
Database name: pw_example_test
Database user: pw_example_test

This is intended for local development only. It is not a ProcessWire module and does not modify ProcessWire itself.

I built it because I often need to spin up fresh local ProcessWire installs for testing, and I wanted the workflow to be easy for agent-based coding tools: create the MAMP site, open the folder, send one prompt, get a working ProcessWire install.

Feedback is welcome, especially from anyone using MAMP Pro with different ports, Apache/Nginx settings, or MySQL versions.

  • Like 2
×
×
  • Create New...