User login

development environment

Set up RubyGems and RVM on Ubuntu 11

This makes the gem command work:

sudo apt-get install rubygems1.8

But more is needed...

sudo apt-get install curl ruby

We already have Git installed; if you don't you may want to throw a git-core in there. (And if you already have curl installed, you can leave it out of the apt-get command-- or put it in, it will work either way.

Get development and site-building modules and enable and configure them automatically

update: it exists, http://drupal.org/sandbox/mlncn/1204336

it should be a drush script that puts files in sites/all/modules/devel
keeps them up-to-date with git
and then enables them

http://drupal.org/project/environment

is just too much overhead.

Basically all the reasonable approaches are here:

Enabling and disabling modules based on environment

A drush command. Text file with modules to enable on dev, and then run it manually or somehow automatically.

drush? make text file with all the modules and git it to drush pm_enable

If we have a defined practice for environment-specific module enabling/disabling and i'd love to disable views_ui, update, etc. on live

It would be run after sync commands-- pull data from live, but then enable update on the test site, and all site building modules on dev

Find the function definition of the current function or find uses of a given function

'gd' doesn't do anything for me (recommended here: http://jmcpherson.org/editing.html )

The asterisk works great though!

  • Read the string under the cursor and go to the next place it appears. (For instance, if your cursor was somewhere on the word "bob," the cursor would move to the next occurance of "bob" in your file.)

Same as above, except it moves the cursor to the previous occurrence.

Open folders in terminal in Ubuntu

sudo aptitude install nautilus-open-terminal

Support Request to VMWare: Stable IP Address to access Ubuntu guest from Mac OS host

How can i make the IP address at which my host Mac OS accesses my Ubuntu guest stay stable. This is with the network in NAT mode, of course, because bridged is a stable IP... for one location.

To be very clear, this is the value for "inet6 addr" when typing ifconfig on the Ubuntu guest command line:

Slick top-level-domain style URLs for your local development sites on Ubuntu (and Mac OS X running Ubuntu in a VM)

In order for the cool myprojectname.dev style addresses for sites you are developing locally (rather than 127.0.0.1/myprojectname) from my Mac OS X environment as well as Ubuntu running in a virtual machine, this method uses the IP address available locally that you can find out by typing ifconfig in a shell terminal. It's what follows the text "inet". With luck that is a stable IP address, running in bridged mode (i think) with VMWare Fusion this seems to be working so far. The problem with bridged mode is that it only works with your own internet connection.

Installing Drush

We are fTollowing our Debian-inspired sysadmin, Stefan Freudenberg, in the locations of this extra-Drupal project, but you can put it anywhere.

Remember to check the Drush project page for the latest version to wget, and replace the CURRENT-VERSION tarball link with that. This will be the last module you ever have to do that for.

Syndicate content