User login

Agaric

Download and install Drupal in one step

Drubuntu has a 'site add' functionality, but aside from being limited to Drubuntu it does as a multisite (no thanks) with the site's settings.php and files weirdly symlinked to a directory sitting alongside the download itself. (Ah, i just realize that it probably adds all sites to this one multisite.)

Best practice for an upgraded site to define RDF mappings for RDFa output?

A site that has been upgraded from Drupal 6 to Drupal 7 has not even had this code from standard.install in the Standard profile run yet. Can generic mappings like this be easily taken care of in other custom configuration of RDF or should this (plus more?) go in an update hook?

Apache installed by Drubuntu has segfaults until permissions fixed on sites-available file

If you have installed Drubuntu (including/especially using my D7-ready sandbox), it is possible that the permissions will not be set correctly on /etc/apache2/sites-available/drubuntu

tail -f /var/log/apache2/error.log had segfaults in it
checking where

Giving that file read access

Two main issues remaining to be fixed in Drubuntu: NetworkManager conflict and file permissions

Need to fix in Drubuntu

  1. (Some) Drush scripts writing with no read permissions
  2. NetworkManager rewriting /etc/resolv.conf

this line needs to be added at the top via sudo vi /etc/resolv.conf:
nameserver 127.0.0.1

See http://data.agaric.com/fixing-network-manager-overwriting-dns for the lasting fix.

Exporting Redirects to Webserver Rules the Awesome way

[Note: For non-automatic export of Redirects to Apache rules, see Redirect Export module.]

courtesy Stefan, of course

Resources:
http://php.net/manual/en/book.dba.php

Manual update of git-deployed Agaric production site

For a project named (and with the repository and server user name) 'example'.

ssh example@sojourner.mayfirst.org
cd example
git pull

For the git pull to work your public key must be in /home/vlad/.ssh/authorized_keys on the test server (simone.mayfirst.org). You can get this value from /home/yourusername/.ssh/authorized_keys. (@Stefan can we in some way give people with access to simone access to use it as the vlad user automatically?)

Git remote branches are different on my local compared to server

The local checkout on my computer and the one on the dev server are looking at the same Git repository, but the results of git branch -a (show all remote branches) is very different.

Reason: git pull origin master does not get all the branch and tag information the way git fetch does!

Solution:

git fetch origin

Now git branch -a and git checkout branchicareabout both work.

Drupal ingredient-dish-meal code-module-site analogy, and different cooks and restaurants

Code as ingredients, modules as dishes, sites as meals, installation profile as recipe, and restaurants with a menu as providers of distributions (or SaaS, though she doesn't mention that).

That's the takeaway from today's post by Karen Borchert at Agile Approach.

http://www.agileapproach.com/blog-entry/code-free-explanation-of-drupal-distributions

Syndicate content