Skip to content

Instantly share code, notes, and snippets.

@ChaseWPDEV
ChaseWPDEV / docker-compose.yml
Last active January 24, 2022 19:25
Example Docker Compose File for the ChaseWPDEV / WPTesting-Docks testing system
version: '3'
services:
jest:
image : wpjesttests
volumes:
- /var/www/html/cwp/wp-content:/home/node
command: bash
phpunit:
image : wpphptests
volumes:
@ChaseWPDEV
ChaseWPDEV / Gruntfile.js
Last active February 12, 2020 01:10
Link files to post_content and watch for easy IDE editing
/* Requires the following npm packages:
grunt
mysql
grunt-contrib-watch
*/
module.exports=function(grunt){
let mysql=require('mysql');
let connection;