EMBridge Drupal Setup

Drupal Setup
  1. Make sure that dependencies are installed:
    sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
  2. Unzip http://ftp.drupal.org/files/projects/drupal-7.37.tar.gz into /var/www/yoursite (or wherever your webserver is located)
  3. Create a /etc/apache2/sites-available/yoursite.conf that looks something like this:
    <VirtualHost *:80> DocumentRoot /var/www/yoursite ServerName yoursite RewriteEngine On RewriteOptions inherit CustomLog /var/log/apache2/yoursite.log combined </VirtualHost>
  4. Add DNS entry /etc/hosts localhost yoursite
  5. Had to run the rewrite command with my config file as a param a2ensite drupal7 531 service apache2 reload
  6. Fix permissions: Need to edit /etc/apache2/apache2.conf and make / and /var/www (or whatever web roots are ABOVE your site, have AllowOverride All (Apache uses a blacklisting)
  7. Setup Database http://askubuntu.com/questions/36221/whats-the-easiest-way-to-install-drupal-locally Sometimes the password doesn't get set properly. The steps when creating should look something like this:
     mysql -u root -p -e "CREATE DATABASE databasename CHARACTER SET utf8 COLLATE utf8_general_ci;"   mysql -u root -p -e "GRANT ALL PRIVILEGES ON databasename.* TO drupaluser@localhost IDENTIFIED BY 'password';"
  8. Log into web site and use defaults http://yoursite/
  9. Upload the plugin to Drupal. Modules | Add New | Enter URL: http://ftp.drupal.org/files/projects/embridge-7.x-3.0-beta2.tar.gz (NOTE: you must have the Update Manager enabled to see the Add New)
  10. As of 7.x.3.0-beta2, the module must be edited to remove an erroneous validation check. Comment out lines 332 through 335 in embridge.admin.inc in the embridge module root
  11. Follow EMBridge setup video. The user/password you use for Drupal must be those for the system catalog.
  NOTE: For versions of EMBridge up to 7.x.3.0-beta2, make sure you use Lucene data store (issue on drupal.org)