Update:Remora Server Requirements: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
= Installation = | = Installation = | ||
== Main Site == | |||
* Check out the appropriate tag | * Check out the appropriate tag | ||
* Make sure to pull from the branch and include the services directory int he file tree. | * Make sure to pull from the branch and include the services directory int he file tree. | ||
Line 14: | Line 16: | ||
** For staging or prod: to /site/app | ** For staging or prod: to /site/app | ||
** For development (including running of tests): to /site/app/webroot | ** For development (including running of tests): to /site/app/webroot | ||
== Services == | |||
* Create a symbolic link to config-dist.php named config.php | |||
* Set up the HOST and PATH info like so | |||
(insert example here) | |||
* Profit! | * Profit! |
Revision as of 23:45, 28 September 2006
Server Software
- Cake requirements
- Apache 2.0 w/ mod_rewrite
- PHP4 (PHP5 does not work with our settings)
- RDBMS (MySQL, PostgreSL)
- Remora-specific requirements (for l10n, mostly)
Installation
Main Site
- Check out the appropriate tag
- Make sure to pull from the branch and include the services directory int he file tree.
- Set your DocumentRoot
- For staging or prod: to /site/app
- For development (including running of tests): to /site/app/webroot
Services
- Create a symbolic link to config-dist.php named config.php
- Set up the HOST and PATH info like so
(insert example here)
- Profit!
Permissions
- app/webroot/files needs to be writable by apache
- app/webroot/files/temp needs to be writable by apache
- app/webroot/files/approval needs to be writable by apache
Configuration
Copy app/config/database.php.default to app/config/database.php and modify the default and test databases to be your database, but for the test database use a user with read-only privileges. To create a user with read-only privileges, execute this SQL command after replacing {variables}:
- GRANT SELECT ON {database} TO '{username}'@'localhost' IDENTIFIED BY '{password}';
First, import app/config/remora.sql - this provides the schema and standard data for langs, translations, and addontypes.
Then, import app/tests/remora-test-data.sql - this inserts more complete test data. Currently, addon id 7(MicroFarmer) is most complete.