Skip to content

Instantly share code, notes, and snippets.

View stefgosselin's full-sized avatar

Stephane Gosselin stefgosselin

  • Saint-Eugène-De-Guiges
View GitHub Profile
@stefgosselin
stefgosselin / drushinstall.txt
Created June 11, 2013 04:20
Installation - Drush
Installation drush
cd /usr/local/lib/
wget http://ftp.drupal.org/files/projects/drush-7.x-5.9.tar.gz
tar zxvf drush-7.x-5.9.tar.gz
cd drush/ <-----There is drush, just checking
cd /usr/local/bin
ln -s /usr/local/lib/drush/drush drush
Then:
Go to the root folder of your website

unicorn config file

Edit file /home/gitlab/gitlab/config/unicorn.rb

Find line listen "#{app_dir}/tmp/sockets/gitlab.socket" and comment it. Uncomment line listen "127.0.0.1:8080"

required modules for apache

  • sudo a2enmod proxy
  • sudo a2enmod proxy_http
(function ($) {
Drupal.behaviors.myModule = {
attach: function (context) {
// Code ...
}
}
})(jQuery);