Changes between Version 1 and Version 2 of website/devEnvironment/workstation/macos
- Timestamp:
- 05/17/13 13:42:54 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
website/devEnvironment/workstation/macos
v1 v2 8 8 {{{ 9 9 pear channel-discover pear.drush.org 10 pear install drush/drush}}} 10 pear install drush/drush 11 }}} 11 12 12 13 I 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): 13 14 15 {{{ 14 16 # Host Database 15 17 # … … 22 24 ::1 localhost 23 25 fe80::1%lo0 localhost 26 }}} 24 27 25 28 then I needed to uncomment the following line in /Applications/MAMP/conf/apache/httpd.conf (525): 26 29 {{{ 27 30 Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf 28 31 }}} 29 32 then edit in /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf replacing the demo stuff and set it to the following: 30 33 … … 46 49 DocumentRoot "/Users/ben/Sites/transitionbodge" 47 50 ServerName transitionbodge 48 </VirtualHost>}}} 51 </VirtualHost> 52 }}} 49 53 50 54 in 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) … … 58 62 My computer then refused to run the drush command to disable the modules that should be disabled, I fixed that by uninstalling and reinstalling drush: 59 63 60 {{{sudo pear uninstall drush/drush 64 {{{ 65 sudo pear uninstall drush/drush 61 66 pear upgrade --force Console_Getopt 62 67 pear upgrade --force pear 63 68 pear upgrade-all 64 69 pear channel-discover pear.drush.org 65 pear install drush/drush}}} 70 pear install drush/drush 71 }}} 66 72 67 73 I 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 75 I 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 76 I set this to 77 {{{memory_limit = 256M}}} 68 78 69 79 I set mamps mysql preferences by running this command in terminal … … 77 87 and I'm in. 78 88 79