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"
sudo a2enmod proxysudo a2enmod proxy_http
| 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 |
| (function ($) { | |
| Drupal.behaviors.myModule = { | |
| attach: function (context) { | |
| // Code ... | |
| } | |
| } | |
| })(jQuery); |