Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add README and LICENSE

  • Loading branch information...
commit 267a5f353b2e373a1496aff63b9edda13197d196 1 parent 6eff9ff
Adam Stacoviak authored
Showing with 86 additions and 0 deletions.
  1. +20 −0 LICENSE
  2. +66 −0 README.markdown
View
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2009 Adam Stacoviak and Wynn Netherland
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
66 README.markdown
@@ -0,0 +1,66 @@
+## Thor WordPress: A set of Thor tasks to make developing with WordPress easier
+
+Before you go ANY FURTHER, using these Thor tasks assumes you have the `haml`, `compass` and `compass-wordpress` gems installed.
+
+## Install the Thor tasks:
+
+ thor install http://github.com/adamstac/thor-wordpress/raw/master/wordpress.thor
+ thor install http://github.com/adamstac/thor-wordpress/raw/master/theme.thor
+
+## Install WordPress with Thor
+
+Change directory to the directory you want to install WordPress in. You'll be asked if you want to install [Thematic](http://themeshaper.com/thematic/). These instructions assume you say yes.
+
+ cd ~/Sites/mysite/
+ thor wordpress:install
+
+Change directory to the theme directory
+
+ cd wp-content/themes/
+
+Create your new theme directory
+
+ mkdir mytheme
+ cd mytheme/
+
+Install your new theme with Thor. This assumes that you said yes to using installing Thematic and by default unpacks the Thematic project template located inside the Compass-WordPress gem.
+
+ thor theme:install
+
+## Use rsync to deploy your theme
+
+Update lines 4 and 7 of `deploy.thor` located in your theme directory to use rsync to deploy your theme.
+
+## Thor-WordPress tasks
+
+ wordpress
+ ---------
+ wordpress:install [--directory=DIRECTORY] [--version=VERSION]
+ # Download and unpack WordPress from the interwebs
+
+ theme
+ -----
+ theme:install --theme=<theme> [--directory=DIRECTORY] [--theme=THEME]
+ # Unpacks the specified <theme> from the compass-wordpress gem
+
+ theme:generate
+ # Clears and Generates the styles
+
+ theme:watch
+ # Runs compass --watch
+
+ theme:clear
+ # Clears the styles
+
+ deploy
+ ------
+ deploy:theme
+ # Deploys the theme
+
+## Contributors
+
+[Adam Stacoviak](http://adamstacoviak.com/) and [Wynn Netherland](http://wynnnetherland.com/)
+
+## License
+
+See LICENSE
Please sign in to comment.
Something went wrong with that request. Please try again.