Work in progress! But already here for your inspiration. Framework for building and deploying WordPress websites
- Put your WP core in
- Run 'npm install gulp' to install gulp in your project.
- Run 'npm install' to install the dependencies
- Your assets are in
/content/themes/v1/assets/<- they'll be compiled to 'compiled-assets' by gulp.
- Setup your database and put your db info in
- Run cap staging wp:setup:local to setup your
- Run 'gulp' and enjoy!
- Custom content directory in
/content/(cleaner, and also because it can't be in
wp-config.phpin the root (because it can't be in
Install capistrano and dependencies via npm install
cap staging deploy
cap staging wp:setup:generate_remote_files
cap staging db:backup (creates backup form environment) cap staging db:pull cap staging db:push (use with caution!)
cap staging media:regenerate (sync media) cap staging media:sync (sync media)
Commandline interface for WordPress
A useful resource to use when you're developing WP sites is the WP commandline. You can find the install guide on http://wp-cli.org/ The wp-cli.phar is already in this project so if you don't want to install it globally you can use this file to use the commandline.
Run 'php wp-cli.phar --help' for the different usage options.
/raw/ folder is meant to develop your HTML / front-end code. You can use the
index.html file as a startingpoint.