Skip to content

Instantly share code, notes, and snippets.

View dainelmawer's full-sized avatar
🏠
Working from home

Daine Mawer dainelmawer

🏠
Working from home
View GitHub Profile
@dainelmawer
dainelmawer / OS X Development Setup
Created September 25, 2017 07:29
Development Bash Script for MAC OS X using Homebrew
#!/usr/bin/env bash
#
# Notes:
#
# - Homebrew & Git require Xcode Command Line Tools, OS X should prompt you on first install.
#
echo "Starting Mac OS X Dev Setup..."
# Check for Homebrew, install if we don't have it
mkdir "${WORKSPACE}"/tmp
cd "${WORKSPACE}"
rm -rf .git
if [ -f "composer.json" ]; then
composer install
fi
cd wp-content/themes/wpsa
<?php
/**
* Custom WordPress configurations on "wp-config.php" file.
*
* This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more.
* For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page.
* Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com.
*
* @package WordPress
* @generator GenerateWP.com
# IGNORE ALLES
*
# WP EXCEPTIONS NOT TO IGNORE
!wp-content
!wp-content/themes
!wp-content/mu-plugins
!wp-content/themes/wpsa
!wp-content/themes/wpsa/**
{
"name": "wp-theme-workflow",
"version": "1.0.0",
"description": "A WordPress theme workflow inspired by 10up Engineering Best Practices",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",