Standard WordPress layout for Human Made projects.
-
Create an empty directory for your project. In terminal, navigate to this directory.
-
Clone the repository
git clone --recursive git://github.com/humanmade/hm-base.git .
-
Remove the hm-base remote.
git remote rm origin
-
Add the remote for your new project
git remote add origin [url]
-
Push to the new remote
git push origin master
-
Add your database settings.
- Local site:
mv wp-config-sample.php wp-config-local.php
, then add your local database settings. - Live site: Production database settings should be added to
wp-config.php
.
- Local site:
Done!
- HM Base sets the MU Plugins directory to
plugins-mu
instead ofmu-plugins
for consistency.
see https://github.com/humanmade/hm-base/blob/master/CONTRIBUTING.md