WordPress development environment on Mac with Brew, Nginx, PHP 7, PHP-FPM, MariaDB, phpMyAdmin and more
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2019-04-01 18:06:31", | |
"containerVersion": { | |
"path": "accounts/4701554052/containers/11452913/versions/0", | |
"accountId": "4701554052", | |
"containerId": "11452913", | |
"containerVersionId": "0", | |
"container": { | |
"path": "accounts/4701554052/containers/11452913", |
# UPDATED 17 February 2019 | |
# Redirect all HTTP traffic to HTTPS | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.domain.com domain.com; | |
return 301 https://$host$request_uri; | |
} | |
# SSL configuration |
if ( !function_exists( 'populate_roles' ) ) { | |
require_once( ABSPATH . 'wp-admin/includes/schema.php' ); | |
} | |
populate_roles(); |
var gulp = require('gulp'); | |
var debug = require('gulp-debug'); | |
var gutil = require('gulp-util'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var uglify = require('gulp-uglify'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var prefix = require('gulp-autoprefixer'); | |
var filter = require('gulp-filter'); |
{ | |
"name": "mynamespace/myproject", | |
"description": "Composer file example", | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://drupal-packagist.webflo.io/" | |
}, | |
{ | |
"type": "package", |
<?php | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php |
server { | |
server_name www.adamwalz.net; | |
return 301 $scheme://adamwalz.net$request_uri; | |
} | |
server { | |
server_name adamwalz.net *.adamwalz.net; | |
root /home/adamwalz/Sites/adamwalz.net; | |
access_log /var/log/nginx/adamwalz.net/access.log; |
<?php | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php |
ErrorDocument 404 / | |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] |