Version 41 (modified by 8 years ago) ( diff ) | ,
---|
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
- faq/translate/pages
- WikiFormatting
- http://trac.edgewall.org/wiki/TracSyntaxColoring
- Trac Syntax Coloring Example
{{{#!application/x-shellscript ... }}}
{{{#!application/json ... }}}
- #!application/json
- #!application/x-yaml
- #!text/x-yaml
- #!application/xml-dtd ...
- #!application/x-sh-session No macro or processor named 'application/x-sh-session' found
- #!application/x-shellscript
- #!html
- #!text/html
- #!text/html+twig
- #!application/x-twig
- #!application/x-httpd-php5
- #!text/x-php
- #!text/css
- #!text/javascript ...
- #!text/x-sql
- #!text/x-sqlite3-console
- #!text/x-postgresql-psql ...
- #!text/x-mysql
- #!text/x-diff
- #!text/x-trac-wiki
- Trac Syntax Coloring Example
- http://trac.edgewall.org/wiki/TracSyntaxColoring
- TicketQuery Macro (tagging tickets) examples:
- There is somewhere a useful cloud of tags. faq/wordpress/WordPressInstall
- Tag for Debian packages
[DebianPackage:python-whoosh]
python-whoosh
Tickets we follow
Taged with GRIP-UQAM
Taged with python, tendenci, django, pyramid, php, drupal7, drupal, golang, fastcgi, chelsea, ossie
Results (1 - 50 of 1097)
Ticket | Modified | Resolution | Owner | Summary |
---|
Reported by us
No results
Taged with GRIP-UQAM with description
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 # to start a new empty .bowerrc
- 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
- https://github.com/npm/node-semver#ranges (valid for Bower)
- $ ls bower_components/
- or
- $ ls ../../web/sites/all/libraries
- https://packagist.org/packages/ckeditor/ckeditor
- Supported Editors Matrix https://www.drupal.org/node/596966
- jquery version for Drupal 7 https://www.drupal.org/node/171213
- same with jQuery Update module https://www.drupal.org/project/jquery_update
- https://packagist.org/packages/kraksoft/colorbox
- https://github.com/Spea/SpBowerBundle
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" } }
- http://docs.drush.org/en/master/install/
- https://packagist.org/packages/ezyang/htmlpurifier
- http://htmlpurifier.org/download
- https://packagist.org/packages/pelago/emogrifier
- https://www.drupal.org/project/emogrifier
- php composer target directory
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)
- apache2-mpm-worker(debian 8 jessie apache2 which uses mpm_event by default)
- apache2-suexec-custom (also debian 8 jessie apache2-suexec-pristine or debian 7 wheezy apache2-suexec)
- libapache2-mod-fcgid
- php5-cgi
Note Altern-C
- Altern-C seems to use libapache2-mpm-itk(debian 7 wheezy apache2-mpm-itk)
To keep in mind
Note:
See TracWiki
for help on using the wiki.