wiki:members/GRIP-UQAM

Version 40 (modified by https://id.mayfirst.org/gripuqam, 4 years ago) (diff)

--

Languages:

Who we are?

http://gripuqam.org We are french speaking so this page will be translated unsing the advise in faq/translate/pages

Wiki page we read or collaborate to write @ mayfirst

Tickets we follow

Taged with GRIP-UQAM

Ticket Modified Resolution Owner Summary

Taged with python, tendenci, django, pyramid, php, drupal7, drupal, golang, fastcgi, chelsea, ossie

Results (1 - 50 of 1064)

1 2 3 4 5 6 7 8 9 10 11
Ticket Modified Resolution Owner Summary
#15056 3 weeks ago JaimeV need root control of apache to run Flask
#14359 4 months ago fixed optimal method for creating a drupal development install
#14353 4 months ago fixed JaimeV guidance on initial drupal setup needed ASAP
#14356 4 months ago fixed Jamie McClelland How are drupal updates handled?
#9016 4 months ago fixed Jamie McClelland drupal auto-email notifications getting bounced by yahoo for 'policy' violation
#8361 4 months ago fixed https://id.mayfirst.org/mv How do you configure drupal and mediawiki for bilingual sites
#8278 4 months ago fixed Dana RFC: Drupal vs WordPress - Pro/Con Considerations
1 2 3 4 5 6 7 8 9 10 11

Reported by us

No results

Taged with GRIP-UQAM with description

Ticket Modified Resolution Owner Summary

Development Tool

Pages we may need one day

Some PostgreSQL commands

  • $ psql postgres --command="\l" # do see DB on server and parameters
  • postgres:~$ createuser -D -R -S <UNIX user>
  • postgres:~$ createdb -O <postgres user> <database name>
  • $ pg_dump -Fc --verbose --file=<file name (.data)> <database name>
  • $ pg_restore --verbose --no-owner --no-privileges --dbname=<database name> <file name (.data)> # restore the data base as a different user eg. to clone a Drupal website

Javascript: from npm to bower

  • $ nice -n 127 ionice --class=idle npm install bower --save
  • $ nice -n 127 ionice --class=idle npm update #update!
  • .bowerrc
  • $ nice -n 127 ionice --class=idle nodejs node_modules/bower/bin/bower init
  • Install some libraries...
  • $ nice -n 127 ionice --class=idle nodejs node_modules/bower/bin/bower update --production #update!

Example .bowerrc for Drupal 7

{
  "directory" : "../../web/sites/all/libraries"
}

Install Javascript libraries with Bower package manager

  • $ nodejs node_modules/bower/bin/bower install --save ckeditor#full/stable
  • $ nodejs node_modules/bower/bin/bower install --save jquery#1.4.4 # Drupal 7 version
  • $ nodejs node_modules/bower/bin/bower install --save jquery-colorbox # depends on jquery
  • $ ls bower_components/
  • or
  • $ ls ../../web/sites/all/libraries

Example bower.json for Drupal 7

{
  "name": "drupal7",
  "private": true,
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "ckeditor": "#full/stable",
    "jquery": "~1.4.4",
    "jquery-colorbox": "^1.6.3"
  }
}

Example composer.json for Drupal 7

{
    "require": {
        "drush/drush": "^8.0",
        "ezyang/htmlpurifier": "^4.7",
        "kraksoft/colorbox": "^1.5",
        "pelago/emogrifier": "^1.0",
        "tinymce/tinymce": "^3.5",
        "ckeditor/ckeditor": "^full/4.5.1"
    }
}

Some Composer commands

  • $ ./composer.phar self-update
  • $ ./composer.phar update

Some Drush commands

  • drush -v help
  • drush -v status
    • drush -v core-status
  • drush -v status-report
  • drush -v elysia-cron
  • drush -v core-cron
  • drush -v pm-refresh
    • drush -v rf
  • drush -v pm-download
    • drush -v dl
  • drush -v pm-updatecode
    • drush -v upc
  • drush -v pm-update
    • drush -v up
  • drush -v pm-list
    • drush -v pml
    • drush --status=enabled pm-list
  • drush pm-info <admin_menu|...>
  • drush pm-enable
  • drush pm-disable
  • drush -v updatedb
    • drush -v updb
  • drush libraries-list
  • drush -v l10n-update-status
  • drush -v cache-clear
  • drush -v bam-sources
  • nice...

CKEditor for Drupal 7

Lets'use wysiwyg module

  • Supported Editors Matrix https://www.drupal.org/node/596966
  • $ drush dl --select wysiwyg
  • $ drush dl wysiwyg-2.x-dev
  • $ drush status-report
  • .../sites/all/libraries$ ln -s .../bower_components/ckeditor/ .

Does not work! Brobably because of symbolic links... better use .bowerrc to set target directory as suggested above.

http://cdn.ckeditor.com/4.5.4/full-all

Useful Debian Packages (Chelsea)

Note Altern-C

To keep in mind

4875 id=4875 No results No results No results No results