Skip to content

bonnconvention/family-websites

Repository files navigation

CMS Family websites

Setup the development environment

On the development environment you need to have already installed:

  1. Apache 2.2 or 2.4
  2. PHP 5.5.x or 5.6.x: for CentOS packages: php55w php55w-cli php55w-common php55w-gd php55w-intl php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql php55w-opcache php55w-pdo php55w-pear php55w-pecl-imagick php55w-pecl-memcached php55w-xml
  3. MySQL 5.5 or MariaDB
  4. Composer - required by Drush
  5. Development tools like git, gzip etc.
  6. Clone of this repository in ~/Work/cms

Step 1. Install Drush

Clone the drush repository to install latest Drush. The projects needs at least Drush 7.x

sudo git clone https://www.github.com/drush-ops/drush /opt/drush cd /opt/drush/ && sudo composer install sudo ln -s /opt/drush/drush /usr/bin/drush

Then copy the drush configuration file to your drush home:

cp ~/Work/cms/conf/drushrc.php ~/.drush/

When you finish the installation you will have the latest drush installed, and in shell PATH.

Create the file ~/Work/cms/drush/aliases/aliases.local.php and add the following content:

``