• Skip to primary navigation
  • Skip to main content
Logos Creative

Logos Creative

Products Made for People, Built in Atlanta

  • Content Library
  • About
  • Contact

Roll a New MAMP WordPress Install Quickly With This Shell Script

As I outlined in my previous post on my WordPress development process, I’ve become quite fond of staying in the command line when creating new WordPress installs in MAMP.

I decided to combine the most common, repetitive steps of the process into one useful shell script that:

  1. Creates a new directory (and lets me name it)
  2. Downloads WordPress from GitHub and checks out whatever version I tell it to
  3. Creates a new database (and lets me name it) and gives the MySQL user proper permissions
  4. Generates my security keys and adds them to wp-config.php
  5. Adds my database name, username, and password to wp-config.php
  6. Opens up wp-admin/install.php and lets me complete installation

Check it out on GitHub, download for your own use, or fork it to customize it for your process.

December 3, 2012 By Cliff Seal Filed Under: Development, Git, Resources, Tutorial, WordPress

Content Library

Readings on a wide range of topics for small businesses and nonprofits.

 

See Articles

Copyright © 2020 Logos Creative