Skip to content

Instantly share code, notes, and snippets.

View antillas21's full-sized avatar

Antonio Antillon antillas21

  • Mexicali, Mexico
View GitHub Profile
@antillas21
antillas21 / Omega8cc Recipe
Created January 30, 2012 06:58 — forked from omega8cc/gist:960279
Import existing Drupal sites into Aegir
=== IMPORT YOUR EXISTING SITES TO AEGIR IN 8 EASY STEPS
1. Upload or rsync full drupal root of your site to static/custom/name
2. Chmod everything with command:
$ chmod -R 775 static/custom/name
and files only with:
$ chmod -R 777 static/custom/name/sites/default/files/*
// Generated on 2013-08-13 using generator-angular 0.3.1
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({ port: LIVERELOAD_PORT });
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
var proxySnippet = require('grunt-connect-proxy/lib/utils').proxyRequest;
// # Globbing
# This is a skeleton for testing models including examples of validations, callbacks,
# scopes, instance & class methods, associations, and more.
# Pick and choose what you want, as all models don't NEED to be tested at this depth.
#
# I'm always eager to hear new tips & suggestions as I'm still new to testing,
# so if you have any, please share!
#
# @kyletcarlson
#
# This skeleton also assumes you're using the following gems: