Changes between Version 1 and Version 2 of website/devEnvironment/workstation/macos


Ignore:
Timestamp:
05/17/13 13:42:54 (4 years ago)
Author:
benj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • website/devEnvironment/workstation/macos

    v1 v2  
    88{{{ 
    99pear channel-discover pear.drush.org 
    10 pear install drush/drush}}} 
     10pear install drush/drush 
     11}}} 
    1112 
    1213I had to edit the ect/hosts file thus (it's important it's in this order as OSX will ignore the hosts file if the second uncommented line here is not after the first local host one!!! took ages to work this out): 
    1314 
     15{{{ 
    1416# Host Database 
    1517# 
     
    2224::1             localhost 
    2325fe80::1%lo0     localhost 
     26}}} 
    2427 
    2528then I needed to uncomment the following line in /Applications/MAMP/conf/apache/httpd.conf (525): 
    26  
     29{{{ 
    2730Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf 
    28  
     31}}} 
    2932then edit in /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf replacing the demo stuff and set it to the following: 
    3033 
     
    4649DocumentRoot "/Users/ben/Sites/transitionbodge" 
    4750ServerName transitionbodge 
    48 </VirtualHost>}}} 
     51</VirtualHost> 
     52}}} 
    4953 
    5054in the mamp gui my ports are set to the mysql and apache defaults (there is a button in preferences->ports you need to press to set this as they are not the mamp defaults) 
     
    5862My computer then refused to run the drush command to disable the modules that should be disabled, I fixed that by uninstalling and reinstalling drush: 
    5963 
    60 {{{sudo pear uninstall drush/drush 
     64{{{ 
     65sudo pear uninstall drush/drush 
    6166pear upgrade --force Console_Getopt 
    6267pear upgrade --force pear 
    6368pear upgrade-all 
    6469pear channel-discover pear.drush.org 
    65 pear install drush/drush}}} 
     70pear install drush/drush 
     71}}} 
    6672 
    6773I then downloaded the database... when in backup and migrate I chose bzip2 format to download (to prevent macos automatically unzipping it) and was then able to import the database through phpmyadmin as it was small enough. (i did this cos the drush command for piping in the database wasn't working at that point, but it may work now as drush wasn't working at that point properly) 
     74 
     75I had to increase the memory resource for php (I'm running the older 5.2.17 cos I'm told 5.4.10 isn't good for drupal 6) in /Applications/MAMP/bin/php/php5.2.17/conf/php.ini 
     76I set this to  
     77{{{memory_limit = 256M}}} 
    6878 
    6979I set mamps mysql preferences by running this command in terminal 
     
    7787and I'm in. 
    7888 
    79