3,035
edits
(→= CRON) |
(→CRON) |
||
Line 20: | Line 20: | ||
* Check out the site from trunk (for now): | * 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' | * Set up the 'remora' and 'remora-test' databases and grant all privs for those DB's 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 | ||
mysql -p -D remora-test < site/app/config/sql/remora.sql | |||
mysql -p -D remora-test < site/app/config/sql/remora-data.sql | |||
mysql -p -D remora-test < site/app/tests/remora-test-data.sql | |||
* Set up your database config: | * Set up your database config: | ||
cp site/app/config/database.php.default site/app/config/database.php | cp site/app/config/database.php.default site/app/config/database.php | ||
Line 28: | Line 31: | ||
=== CRON === | === CRON === | ||
* Repulls and reinserts | * Repulls and reinserts 'remora' database contents every 1 hour | ||
* Repulls and reinserts 'remora-test' database contents every 15 minutes | |||
* Auto-updates all code from / all the way down every 15 minutes | * Auto-updates all code from / all the way down every 15 minutes | ||
edits