Install wheke and its dependencies

Undefined

Command line method

Prefer this solution if you want to do a technical work (development, system etc.)

Requirements

  • a mysql database exists
  • an apache virtualhost is enabled
  • git is installed
  • drush is installed (version 6.1 is needed. The package provided by Ubuntu is too old, drush must be installed through pear, see below)

Variables

  • DIR_WHEKE: where you want to download distribution
  • DIR_INSTALL: where you want to install you drupal files (could be /var/www/wheke-test)
  • ADMIN_USER: drupal admin user
  • ADMIN_PASS: drupal admin pass
  • DB_USER: database user
  • DB_PASS: database user pass
  • DB_DATABASE: database name
  • DB_SERVER: database server (could be localhost)

Howto

Download distribution package. The distribution package only contains a makefile, that will be used (in the next step) to build your Wheke site. It's tiny, as it does not contain Wheke, but only what is needed to build Wheke

drupal@server-test:~$ git clone --recursive --branch 7.x-1.x git://git.drupal.org/sandbox/clrh/1866840.git $DIR_WHEKE

Download everything you need to install it (drupal and modules)

drupal@server-test:~$ drush make $DIR_WHEKE/makes/wheke.make $DIR_INSTALL --working-copy

Install it (here with french locale, but it is an example)

drupal@server-test:~$ cd $DIR_INSTALL drupal@server-test:~/$DIR_INSTALL$ drush si -y wheke --account-name=$ADMIN_USER --account-pass=$ADMIN_PASS --db-url='mysql://$DB_USER:$DB_PASS@DB_SERVER/$DBDATABASE' --locale=fr

Clic clic method

You can install Wheke with the kickstart without drush. Follow instructions.

Requirements

  • a mysql database exists
  • an apache virtualhost is enabled

Variables

  • DIR_INSTALL: where you want to install you drupal files (could be /var/www/wheke-test)

Howto

  • Download Wheke_kickstart (1.0-rc2) and unarchive it in your $DIR_INSTALL (when wheke will be a full project, a wheke_kickstart could exist as commerce_kickstart)
  • Go to the website (ex: http://localhost) and do a drupal installation with a "wheke" installation profile

Misc hints

Installing drush using pear

# root@local $
apt-get install php-pear
pear channel-discover pear.drush.org
pear remote-list -c drush
pear install drush/drush
drush status

drush status should say it's version 6.1 (or more)