3,035
edits
Line 12: | Line 12: | ||
== Main Site == | == Main Site == | ||
=== Apache === | |||
* Set your DocumentRoot for the main site: | |||
DocumentRoot /opt/yourpath/site/app/webroot | DocumentRoot /opt/yourpath/site/app/webroot | ||
* Either make sure you AllowOverride for .htaccess files, or copy the .htaccess files to the vhost.conf -- they are in site/, site/app/ and site/app/webroot/ | |||
=== SVN, DB and app config == | |||
* Check out the site from trunk (for now): | |||
svn co http://svn.mozilla.org/addons/trunk/ /opt/yourpath | svn co http://svn.mozilla.org/addons/trunk/ /opt/yourpath | ||
* Set up the 'remora' database and grant all privs for that DB to a user (we will only use one for now): | |||
mysql -p -D remora < site/app/config/sql/remora.sql | mysql -p -D remora < site/app/config/sql/remora.sql | ||
mysql -p -D remora < site/app/config/sql/remora-data.sql | mysql -p -D remora < site/app/config/sql/remora-data.sql | ||
Line 25: | Line 26: | ||
cp site/app/config/database.php.default site/app/config/database.php | cp site/app/config/database.php.default site/app/config/database.php | ||
* Enter the correct database information and you're ready to go -- you can use the same db for default and testing for now. | * Enter the correct database information and you're ready to go -- you can use the same db for default and testing for now. | ||
=== CRON == | |||
* Repulls and reinserts the remora.sql and remora-data.sql every 1 hour | |||
* Auto-updates all code from / all the way down every 15 minutes | |||
== Services == | == Services == |
edits