A factory to prepare, deploy, upgrade your Wordpress.
No more MAMP, XAMP and other strange tools. Your Worpdress runs on a Linux, the same used in production, you work with your tool, and deploy as usual.
This is no magic. Wordpress factory is just a wrapper of Docker compose and wp-cli. Data stays on your hard drive, action are done in Docker (and inside a virtualbox, if you are using Mac OSX).
You need python and virtualenv to build the application, docker (>=1.3) (local or boot2docker) to use it.
make install
The application is in ./bin/wpfactory
Scaffolding
./bin/wpfactory init
Modify the wordpress.yml file
Start services
./bin/wpfactory up -d
(You can remove -d
to see full logs)
Configure your wordpress
./bin/wpfactory config
Wordpress is now running, in port 8000, localhost for linux, ask boot2docker on a Mac :
./bin/wpfactory home
Now you enjoyed your wordpress you can stop it:
./bin/wpfactory stop
And eventually remove all containers:
./bin/wpfactory rm
You still can manually build theses docker containers:
./bin/wpfactory build
Then modify docker-compose.yml
and remove registry.bearstech.com\
prefix
from image name of all your builded images.
GPL v3, © 2014 Mathieu Lecarme.