Changes between Version 69 and Version 70 of members/GRIP-UQAM


Ignore:
Timestamp:
Mar 27, 2016, 8:17:00 PM (6 years ago)
Author:
Grip Uqam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • members/GRIP-UQAM

    v69 v70  
    2121}}}
    2222{{{
     23{{{#!json
     24}}}
    2325{{{#!application/json
    2426}}}
    2527}}}
    26 {{{#!application/json
     28{{{#!json
    2729{
    2830  "name": "drupal7", # comment forbidden in json
     
    3032}
    3133}}}
    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
    3343    * #!application/x-yaml
    34     * #!text/x-yaml
     44    * #!xml
    3545    * #!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//
    4048    * #!text/html+twig
    4149    * #!application/x-twig
    4250    * #!application/x-httpd-php5       
     51    * #!python
     52    * #!php
    4353    * #!text/x-php
    4454    * #!text/css
     55    * #!js
    4556    * #!text/javascript ...
     57    * #!sql
    4658    * #!text/x-sql
    4759    * #!text/x-sqlite3-console
     
    5062    * #!text/x-diff
    5163    * #!text/x-trac-wiki
     64    * #!application/x-sh-session **No macro or processor named 'application/x-sh-session' found**
    5265* [wiki:TracQuery#UsingtheTicketQueryMacro TicketQuery Macro] (tagging tickets) examples:
    5366  * [wiki:tzk:choices]
     
    94107* $ nice -n 127 ionice --class=idle nodejs node_modules/bower/bin/bower update --production #update!
    95108== Example .bowerrc for Drupal 7 ==
    96 {{{#!application/json
     109{{{#!json
    97110{
    98111  "directory" : "../../web/sites/all/libraries"
     
    100113}}}
    101114== Install Javascript libraries with Bower package manager
    102 {{{#!application/x-shellscript
    103 #$ nodejs node_modules/bower/bin/bower install --save jquery#1.4.4 # Drupal 7 version
     115{{{#!sh
     116#$ nodejs node_modules/bower/bin/bower install --save "jquery#1.4.4" # Drupal 7 version
    104117# or (good idea (checked))
    105118nodejs node_modules/bower/bin/bower install --save jquery#~1.4.4 # Drupal 7 version
     
    121134* https://github.com/Spea/SpBowerBundle
    122135== Example bower.json for Drupal 7 ==
    123 {{{#!application/json
     136{{{#!json
    124137{
    125138  "name": "drupal7",
     
    141154}}}
    142155== Example composer.json for Drupal 7 ==
    143 {{{#!application/json
     156{{{#!json
    144157{
    145158    "require": {
     
    164177== Cron ==
    165178* 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-shellscript
     179{{{#!sh
    167180... &> cron/results/<file>
    168181}}}
    169182* Consider nice and ionice to give priority to interactive tasks
    170 {{{#!application/x-shellscript
     183{{{#!sh
    171184nice -n 127 ionice --class=idle ...
    172185}}}
     
    201214* nice...
    202215== Installing Drupal 7 or 8 with [https://en.wikipedia.org/wiki/Composer_(software) Composer] (on a development server outside MayFirst) ==
    203 {{{#!application/x-shellscript
     216{{{#!sh
    204217$ composer create-project "drupal-composer/drupal-project" <directory>
    205218}}}
     
    213226* https://getcomposer.org/doc/05-repositories.md#path
    214227* spot larger libraries (and the one used more often)
    215 {{{#!application/x-shellscript
     228{{{#!sh
    216229.../vendor$ du */* -sch | sort -h
    217230}}}
    218 {{{#!application/x-shellscript
     231{{{#!sh
    219232.../vendor$ du */* -sc | sort -n
    220233}}}
    221234== Installing Drupal 7 or 8 with [https://github.com/drush-ops/drush Drush] (on a development server outside MayFirst) ==
    222 {{{#!application/x-shellscript
     235{{{#!sh
    223236$ drush help site-install
    224237$ drush dl drupal-7
     
    228241}}}
    229242== {{{git}}} for Drupal ==
    230 {{{#!application/x-shellscript
     243{{{#!sh
    231244$ git ls-remote --tags <repository> | sort --key=2 --version-sort | less
    232245$ git clone --branch <branch or tag> <repository> <directory>
     
    289302=== [https://packagist.org/packages/hybridauth/hybridauth Hybridauth] ===
    290303http://hybridauth.sourceforge.net/userguide.html
    291 {{{#!application/x-shellscript
    292 composer require hybridauth/hybridauth
     304{{{#!sh
     305$ composer require hybridauth/hybridauth
    293306}}}
    294307Google::