Update:Remora OSX Setup: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: === Getting Apache/PHP Properly Setup === # Download and install [http://www.mamp.info/en/index.php MAMP] # Open /Applications/MAMP/conf/php[5,4]/php.ini and remove the line extension=get...)
 
(Update docs for new MAMP)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
=== Getting Apache/PHP Properly Setup ===
After following [[Update:Remora_Server_Requirements|How to setup Remora]], you'll need to follow these directions to get AMO working on OSX 10.5.


# Download and install [http://www.mamp.info/en/index.php MAMP]
# Download and install [http://www.mamp.info/en/index.php MAMP]
# Edit /Applications/MAMP/conf/apache/httpd.conf and change DocumentRoot and <Directory "/Applications/MAMP/htdocs"> to the site directory from the AMO svn checkout.
# Copy /Applications/MAMP/Library/bin/xgettext to /usr/bin (a localization script needs this)
In older versions of MAMP (1.7 shouldn't need this) you need to disable gettext and use faketext.
# Open /Applications/MAMP/conf/php[5,4]/php.ini and remove the line extension=gettext.so (gettext extension in MAMP is broken)
# Open /Applications/MAMP/conf/php[5,4]/php.ini and remove the line extension=gettext.so (gettext extension in MAMP is broken)
# Copy /Applications/MAMP/Library/bin/xgettext to /usr/bin (a localization script needs this)
# Edit /Applications/MAMP/conf/apache/httpd.conf and change DocumentRoot and <Directory "/Applications/MAMP/htdocs"> to your AMO svn directory.
# Download fligtar's faketext http://fligtar.com/faketext/faketext_amo.phps and save as config-local.php in SVNROOT/addons/trunk/site/app/config
# Download fligtar's faketext http://fligtar.com/faketext/faketext_amo.phps and save as config-local.php in SVNROOT/addons/trunk/site/app/config
If you want memcached, follow these instructions: http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment
You should now (hopefully) have a working copy of AMO!

Latest revision as of 16:16, 31 October 2008

After following How to setup Remora, you'll need to follow these directions to get AMO working on OSX 10.5.

  1. Download and install MAMP
  2. Edit /Applications/MAMP/conf/apache/httpd.conf and change DocumentRoot and <Directory "/Applications/MAMP/htdocs"> to the site directory from the AMO svn checkout.
  3. Copy /Applications/MAMP/Library/bin/xgettext to /usr/bin (a localization script needs this)

In older versions of MAMP (1.7 shouldn't need this) you need to disable gettext and use faketext.

  1. Open /Applications/MAMP/conf/php[5,4]/php.ini and remove the line extension=gettext.so (gettext extension in MAMP is broken)
  2. Download fligtar's faketext http://fligtar.com/faketext/faketext_amo.phps and save as config-local.php in SVNROOT/addons/trunk/site/app/config

If you want memcached, follow these instructions: http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment

You should now (hopefully) have a working copy of AMO!