magicpress
Command line tool to quickly spin up WordPress dev environments - like magic
Last updated a year ago by bryceadams .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install magicpress 
SYNC missed versions from official npm registry.

MagicPress brings a little bit of magic to your local WordPress development.

Install:

npm install magicpress -g

Requires:

You should also have mysql installed on your computer.

Setup:

By default, MagicPress presumes your MySQL credentials are username root and password root. You can change this by doing:

sudo mp config

And typing your username and password.

What It Does:

MagicPress adds a new command to your computer - mp. Once installed, you can do:

mp new sitename

And it will create a folder, install WordPress, create a database and link it to Valet, all within a few seconds. Access it straight away from http://sitename.dev.

There are a few optional commands:

  • --empty (-e) - Empty site (No default plugins and just the 2016 theme)
  • --woocommerce (-w) - Install and activate WooCommerce & Storefront
  • --dev (-d) - Installs several useful development plugins

What's coming?

I'll add some more commands like delete soon. I'll also add some more flexibility in terms of configuration, so you can make custom recipes for sites and change the plugins/themes installed.

Contribute:

Feel free to fix issues you find and add more features!

Disclaimer:

This isn't a perfect replacement for local development. Using a virtual machine or something like Chassis is often a better solution for developing larger WordPress projects/sites, but I've found Valet to be a really nice solution for quickly creating/testing WordPress plugins.

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |