These instructions are for a concrete5 v5.7 project
- Your server name ends in
.dev(e.g., spydertrap.dev) - You have the following installed:
- Composer
| #!/bin/bash -e | |
| ## | |
| # WordPress Installation and VirtualHost Creation | |
| # | |
| # Description: Installs a WordPress website in the ~/Sites folder, creates a homepage, | |
| # cleans up the WP install a bit, deletes the akismet and hello dolly plugins, creates the permalinks, | |
| # clones the roots/sage theme framework to the theme folder, deletes all the other WP default themes, | |
| # installs/runs npm and bower and runs gulp to create the initial assets, adds a custom gitignore file | |
| # to /wp-content, installs the roots/soil plugin, creates a git repo in wp-content, saves the WordPress |
These instructions are for a concrete5 v5.7 project
.dev (e.g., spydertrap.dev)| ///////////////////////////// | |
| // COUNT FOR SCSS SELECTOR // | |
| function countCSSRules() { | |
| var results = '', | |
| log = ''; | |
| if (!document.styleSheets) { | |
| return; | |
| } | |
| for (var i = 0; i < document.styleSheets.length; i++) { | |
| countSheet(document.styleSheets[i]); |
This Gist is a collection of configuration files that can be used to easily setup a Homebrew-based LEMP stack on Mac OS X.
Files in this repository are numbered and named for ordering purposes only. At the top of each file is a section of metadata that denote what component the file belongs to and the default name & location of the file. Feel free to implement it however you want.
Note: some configuration files have hard-coded paths to my user directory -- fix it for your setup