Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melindrea/yeoman-wordpress-speech
Files for speech on how to integrate yo, grunt, bower into a WordPress theme creation workflow
https://github.com/melindrea/yeoman-wordpress-speech
Last synced: 22 days ago
JSON representation
Files for speech on how to integrate yo, grunt, bower into a WordPress theme creation workflow
- Host: GitHub
- URL: https://github.com/melindrea/yeoman-wordpress-speech
- Owner: Melindrea
- Created: 2013-04-25T05:50:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-13T11:40:20.000Z (over 11 years ago)
- Last Synced: 2024-10-26T01:33:45.488Z (2 months ago)
- Language: JavaScript
- Size: 273 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yeoman-WordPress Speech #
Files for speech on how to integrate [Yeoman](http://yeoman.io/) into a WordPress theme creation workflow. Based on `yo webapp`, this is the bare minimum. The theme it is assumed to be based on is [_s](http://underscores.me/), but which starter theme (if any) to use is obviously up to everyone, the idea is the same.
Built on Yeoman 1.0beta, Grunt 0.4.1, Bower 0.8.6. and [Composer](http://getcomposer.org/)
## Config files #
- `package.json` to handle nodejs dependencies: `npm install`
- `composer.json` to handle Composer dependencies: Command depends on how it's installed, use the `--dev` flag
- `component.json` to handle Bower components: `bower install`
- `Gemfile` to handle required gems: `bundle install`## Added Grunt tasks #
- [Modernizr](https://github.com/doctyper/grunt-modernizr)
- [PHPLint](https://github.com/jgable/grunt-phplint)
- [PHPUnit](https://github.com/SaschaGalley/grunt-phpunit)
- [Bumpup](https://github.com/Darsain/grunt-bumpup)
- [CSSCSS](https://github.com/peterkeating/grunt-csscss)## Composer dependencies #
- [PHPUnit](http://www.phpunit.de/manual/current/en/index.html)## Gems #
- [Compass](http://compass-style.org/)
- [CSSCSS](http://zmoazeni.github.io/csscss/)## Bower components #
- [WordPress](http://wordpress.org/)## Customisation #
The `wp-config.php` that the WordPress installation uses is the `wp-config.php` in the root, so set up the databases and update that file.Whatever theme is used should go in `app/theme`, reference the JavaScript from the same place as the build puts them (IE, fix either the path in the Gruntfile, or in the WordPress files), and have no `readme`, stylesheets or JavaScript. Anything from either of those you want to keep should go in `README.md`, `app/scripts` or `app/styles`.
The theme as it is now has not done any of the modifications to change it away from `_s`, but the styles have been moved and the JavaScripts deleted (they can be found in `app/components/_s/js`), and the PHP references `scripts` rather than `js`, but `index.html` references none of the JavaScripts.