Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Commit

Permalink
Revert "Revert "Merge branch 'bower-setup'""
Browse files Browse the repository at this point in the history
This reverts commit f55c355.
  • Loading branch information
digisavvymachine committed Feb 1, 2015
1 parent f55c355 commit 39a27b5
Show file tree
Hide file tree
Showing 116 changed files with 2,366 additions and 5,105 deletions.
2 changes: 1 addition & 1 deletion .bowerrc
@@ -1,3 +1,3 @@
{
"directory": "assets/bower"
"directory": "assets/bower_components"
}
57 changes: 47 additions & 10 deletions .gitignore
@@ -1,17 +1,54 @@
# sass cache
# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz

# Logs and databases #
######################
*.log
*.sql

# OS generated files #
######################
**.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
._*

# Vim generated files #
######################
*.un~

# SASS #
##########
**/.sass-cache
**/.sass-cache/*
# Codekit

# Bower #
##########
assets/bower_components/*

# Codekit #
##########
/codekit-config.json
*.codekit
**.codekit-cache/*


# NPM #
##########
node_modules

# Compiled Files and Build Dirs #
##########
/README.html
# npm and bower modules
/node_modules/
/bower_components/
/dist/
/min/
/build/
# Source Files Uncomment the line below to ignore the src folder
# **/src
somelikeitneat.zip
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -54,9 +54,10 @@ Getting Started
* In pre 1.1.11 builds of Some Like it Neat, Style.scss would process/compile all of your changes to the various Sass files. This has changed in 1.1.11. We have added rtl
support using a set of mixins from the Bi-App-Sass [view](http://anasnakawa.github.io/bi-app-sass/) project which helps us generate styles for RTL configurations. All LTR styles are output to style.css and RTL styles are output to rtl.css.

* #### Install Gulpjs and Plugins
* #### Install Gulpjs and Bower Dependencies
Once you have Node, Sass and the theme installed, the next step is simple enough.
* Open a command prompt/terminal and navigate to your theme's root directory and run this command: **npm install**
* Open a command prompt/terminal and navigate to your theme's root directory and run this command: **npm install** - This installs all the necessary Gulp plugins to help with task automation such as Sass compiling and browser-sync!
* Next run this command: **bower install** - This will install the theme's dependencies such as bourbon, neat, flexnav etc.
_(note - you may have to run this command as admin or sudo)_

* #### Gulp Tasks
Expand All @@ -66,6 +67,9 @@ There are a couple of tasks built into Some Like it Neat to help get you going.

Each task such as 'js', 'images' or 'browser-sync' may be started individually. Although, the only one of them you'd do that with is the 'images' task since that's not auto-optimizing at the moment.

* #### Theme Development, Minification and You
When developing your theme note that the output style.css file and production.js file are in expanded (readable) format if WP_DEBUG is set to true in wp-config.php. If WP_DEBUG is NOT set to true, then style.css and production.js are minified for you. While developing your theme, I recommend that WP_DEBUG is set to true. Just a good practice anyway.

### Theme Hook Alliance
---------------

Expand Down
2 changes: 1 addition & 1 deletion assets/css/rtl-min.css

Large diffs are not rendered by default.

0 comments on commit 39a27b5

Please sign in to comment.