Changes

m
no edit summary
Line 84: Line 84:  
===Checkout amo trunk via svn===
 
===Checkout amo trunk via svn===
 
<code>svn co http://svn.mozilla.org/addons/trunk /var/www</code>
 
<code>svn co http://svn.mozilla.org/addons/trunk /var/www</code>
 +
 +
===Set up server===
 +
 +
===Set permissions===
 +
 +
<code>
 +
chown -R apache:apache /var/www/site
 +
</code>
 +
 +
===Edit DocumentRoot===
 +
 +
<code>
 +
vim /etc/httpd/conf/httpd.conf
 +
 +
Edit DocumentRoot /var/www/site/app/webroot
 +
Edit AllowOverride All
 +
</code>
 +
 +
===Add to hosts===
 +
 +
<code>
 +
vim /etc/hosts
 +
127.0.0.1 activities.sugarlabs.org
 +
</code>
 +
 +
===Test server===
 +
 +
<code>
 +
service httpd restart
 +
</code>
 +
 +
<code>
 +
mv /var/www/site/app/webroot/index.php /var/www/site/app/webroot/index.php.old
 +
mv /var/www/html/index.php /var/www/site/app/webroot/index.php
 +
</code>
    
===Install mysql===
 
===Install mysql===
Line 122: Line 157:  
</code>
 
</code>
   −
===Set up server===
  −
  −
===Edit DocumentRoot===
  −
  −
<code>
  −
vim /etc/httpd/conf/httpd.conf
  −
  −
Edit DocumentRoot /var/www/site/app/webroot
  −
Edit AllowOverride All
  −
</code>
  −
  −
===Set permissions===
  −
  −
<code>
  −
chown -R apache:apache /var/www/site/app/webroot/files
  −
chown -R apache:apache /var/www/site/app/tests/data
  −
chown -R apache:apache /var/www/site/app/tmp
  −
</code>
      
===Configure aso===
 
===Configure aso===
Line 163: Line 180:  
  mkdir /var/www/files/extracted
 
  mkdir /var/www/files/extracted
 
  chown -R apache:apache /var/www/files
 
  chown -R apache:apache /var/www/files
</code>
  −
  −
===Add to hosts===
  −
  −
<code>
  −
vim /etc/hosts
  −
127.0.0.1 activities.sugarlabs.org
   
</code>
 
</code>
  
2,751

edits