Update:Remora Server Requirements: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 11: Line 11:
* 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.
* Set your DocumentRoot (if for staging or prod) to /site/app/
* Set your DocumentRoot
** For staging or prod: to /site/app
** For development (including running of tests): to /site/app/webroot
 
* Profit!
* Profit!



Revision as of 23:49, 27 September 2006

Server Software

Installation

  • 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
  • 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}';