Changes between Version 69 and Version 70 of members/GRIP-UQAM
- Timestamp:
- Mar 28, 2016, 12:17:00 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
members/GRIP-UQAM
v69 v70 21 21 }}} 22 22 {{{ 23 {{{#!json 24 }}} 23 25 {{{#!application/json 24 26 }}} 25 27 }}} 26 {{{#! application/json28 {{{#!json 27 29 { 28 30 "name": "drupal7", # comment forbidden in json … … 30 32 } 31 33 }}} 32 * #!application/json 34 {{{#!application/json 35 { 36 "name": "drupal7", # comment forbidden in json 37 "private": true # no coma here! 38 } 39 }}} 40 * #!diff 41 * #!yml 42 * #!text/x-yaml 33 43 * #!application/x-yaml 34 * #! text/x-yaml44 * #!xml 35 45 * #!application/xml-dtd ... 36 * #!application/x-sh-session **No macro or processor named 'application/x-sh-session' found** 37 * #!application/x-shellscript 38 * #!html 39 * #!text/html 46 * #!html //Insert custom HTML in a wiki page.// 47 * #!text/html //The result will be syntax highlighted HTML code// 40 48 * #!text/html+twig 41 49 * #!application/x-twig 42 50 * #!application/x-httpd-php5 51 * #!python 52 * #!php 43 53 * #!text/x-php 44 54 * #!text/css 55 * #!js 45 56 * #!text/javascript ... 57 * #!sql 46 58 * #!text/x-sql 47 59 * #!text/x-sqlite3-console … … 50 62 * #!text/x-diff 51 63 * #!text/x-trac-wiki 64 * #!application/x-sh-session **No macro or processor named 'application/x-sh-session' found** 52 65 * [wiki:TracQuery#UsingtheTicketQueryMacro TicketQuery Macro] (tagging tickets) examples: 53 66 * [wiki:tzk:choices] … … 94 107 * $ nice -n 127 ionice --class=idle nodejs node_modules/bower/bin/bower update --production #update! 95 108 == Example .bowerrc for Drupal 7 == 96 {{{#! application/json109 {{{#!json 97 110 { 98 111 "directory" : "../../web/sites/all/libraries" … … 100 113 }}} 101 114 == Install Javascript libraries with Bower package manager 102 {{{#! application/x-shellscript103 #$ nodejs node_modules/bower/bin/bower install --save jquery#1.4.4# Drupal 7 version115 {{{#!sh 116 #$ nodejs node_modules/bower/bin/bower install --save "jquery#1.4.4" # Drupal 7 version 104 117 # or (good idea (checked)) 105 118 nodejs node_modules/bower/bin/bower install --save jquery#~1.4.4 # Drupal 7 version … … 121 134 * https://github.com/Spea/SpBowerBundle 122 135 == Example bower.json for Drupal 7 == 123 {{{#! application/json136 {{{#!json 124 137 { 125 138 "name": "drupal7", … … 141 154 }}} 142 155 == Example composer.json for Drupal 7 == 143 {{{#! application/json156 {{{#!json 144 157 { 145 158 "require": { … … 164 177 == Cron == 165 178 * Consider output to an (even empty) file a good practice allowing to check last time the command has been executed. This is because some subtle errors may prevent execution of cron commands, eg. see #11534 166 {{{#! application/x-shellscript179 {{{#!sh 167 180 ... &> cron/results/<file> 168 181 }}} 169 182 * Consider nice and ionice to give priority to interactive tasks 170 {{{#! application/x-shellscript183 {{{#!sh 171 184 nice -n 127 ionice --class=idle ... 172 185 }}} … … 201 214 * nice... 202 215 == Installing Drupal 7 or 8 with [https://en.wikipedia.org/wiki/Composer_(software) Composer] (on a development server outside MayFirst) == 203 {{{#! application/x-shellscript216 {{{#!sh 204 217 $ composer create-project "drupal-composer/drupal-project" <directory> 205 218 }}} … … 213 226 * https://getcomposer.org/doc/05-repositories.md#path 214 227 * spot larger libraries (and the one used more often) 215 {{{#! application/x-shellscript228 {{{#!sh 216 229 .../vendor$ du */* -sch | sort -h 217 230 }}} 218 {{{#! application/x-shellscript231 {{{#!sh 219 232 .../vendor$ du */* -sc | sort -n 220 233 }}} 221 234 == Installing Drupal 7 or 8 with [https://github.com/drush-ops/drush Drush] (on a development server outside MayFirst) == 222 {{{#! application/x-shellscript235 {{{#!sh 223 236 $ drush help site-install 224 237 $ drush dl drupal-7 … … 228 241 }}} 229 242 == {{{git}}} for Drupal == 230 {{{#! application/x-shellscript243 {{{#!sh 231 244 $ git ls-remote --tags <repository> | sort --key=2 --version-sort | less 232 245 $ git clone --branch <branch or tag> <repository> <directory> … … 289 302 === [https://packagist.org/packages/hybridauth/hybridauth Hybridauth] === 290 303 http://hybridauth.sourceforge.net/userguide.html 291 {{{#! application/x-shellscript292 composer require hybridauth/hybridauth304 {{{#!sh 305 $ composer require hybridauth/hybridauth 293 306 }}} 294 307 Google::