How to install phpCollab3

Step 0: Important introduction

These instructions are only for developers. The user guide will be released as soon as the project will have a proper set of functionalities and a proper stability.

REALLY IMPORTANT

Due to this bug it's needed to apply a patch to the doctrine plugin core (download it here). This bug seems to be fixed using symfony 1.3 and doctrine 1.1 but the first one it is not ready for a production environment (yet).

REALLY IMPORTANT

Step 1: System requirements

Step 2: Download the source code

Step 3: Installation

  1. Go to the forlder where you downloaded phpCollab3
  2. Create two empty folders : “log”, “cache”. Give them the full read/write permission (chmod -R 777 cache/ log/)
  3. Configure the databases.yml file
  4. In the phpCollab folder execute the shell command ”./symfony doctrine:build-all-reload”.
  5. Execute the shell command ”./symfony cc”.
  6. Now you have built up every class and two users into the database that can access to the system: “admin” and “user”.
  7. To build up an apache virtualhost for this new project follow the guide here

Step 4: Tests

If you are a developer and you want to run tests on the existing code you should uncompress the archive “test/tests.zip”.

After that you will have 3 new folders (“test/unit”, “test/functional”, “test/fixtures”) and 2 new files (“gitFakeRepositoryCreator.php”, “svnFakeRepositoryCreator.php”).

Execute the shell command ”./symfony doctrine:build-all-reload –env=test”.

Now you can run : ”./symfony test:all” and that's it. Enjoy!

 
how_to_install_phpcollab3.txt · Last modified: 2009/06/02 14:01 by p16
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki