Skip to content

Instantly share code, notes, and snippets.

View mherchel's full-sized avatar

Michael Herchel mherchel

View GitHub Profile
@oodavid
oodavid / README.md
Last active June 12, 2024 00:28 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@mherchel
mherchel / settings.php
Last active August 17, 2016 12:19
Settings.php config
$conf['stage_file_proxy_origin'] = 'http://dev.fldrupal.camp';
$conf['stage_file_proxy_origin_dir'] = 'sites/default/files';
$conf['file_private_path'] = '';
$conf['file_temporary_path'] = '/tmp';
$conf['theme_debug'] = true;
$conf['preprocess_css'] = 0; // disable css aggregation
$conf['preprocess_js'] = 0; // disable js aggregation
$conf['image_toolkit'] = 'gd';
$conf['ignore_site_directory_permissions'] = TRUE;
@thamas
thamas / menu.html.twig
Last active October 3, 2018 14:16
Full template
{#
/**
* @file
* Theme override to display a menu.
*/
#}
{% import _self as menus %}
{#
We call a macro which calls itself to render the full tree.