Documentation (beta)

Installation

SyncRelease is a PHP web application and thus it can be installed virtually on all major operating systems such as Linux, Windows and Mac. First before installing SyncRelease, please check the pre-requisite system requirements below.

System Requirements

  • PHP 5.3 + with socket, mycrypt, mysql_pdo, openssl extensions enabled (for Windows installation with PHP 5.4 or greater, you will need com_dotnet extension as well)
  • Apache with rewrite module or a web server with ability to rewrite url
  • Subversion 1.7.10 + installed (http://www.collab.net/downloads/subversion)
  • ionCube loader installed (http://www.ioncube.com/loaders.php - 32-bit only on Windows)
  • MySQL 5+

Installation Steps

  • Download SyncRelease and extract it to a directory
  • Create a virtual host for SyncRelease extracted directory by pointing root directory of the virtual host to [path to extracted directory]/public. Following is an example configuration for an Apache web server.
<VirtualHost *:80>
    DocumentRoot "/var/www/syncrelease-product/public"
    ServerName syncrelease.mycompany.com
    SetEnv APPLICATION_ENV production

    <Directory "/var/www/syncrelease-product/public">
            Options Indexes MultiViews FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
    </Directory>

    RewriteEngine off
    <Location />
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} -s [OR]
            RewriteCond %{REQUEST_FILENAME} -l [OR]
            RewriteCond %{REQUEST_FILENAME} -d
            RewriteRule ^.*$ - [NC,L]
            RewriteRule ^.*$ /index.php [NC,L]
    </Location>
    ErrorLog "logs/syncrelease-error.log"
</VirtualHost>
  • If you want to run SyncRelease on your local machine using a fake domain name, you will need to edit Hosts file configuration. See more information on Hosts file configuration for running SyncRelease locally
  • Create an empty database on your MySQL server, along with a database user that has full privileges on it. An an example SQL query to create a database user and password with full privileges.
GRANT ALL PRIVILEGES  ON syncreleasedb.* TO 'dbuser'@'localhost' IDENTIFIED BY 'dbpassword';
  • Configure SyncRelease web application’s settings by editing [path to extracted directory]/applications/configs/application.ini file. An example configuration

    Set database connection setting
    resources.db.params.host = "localhost"
    resources.db.params.username = "dbuser"
    resources.db.params.password = "dbpassword"
    resources.db.params.dbname = "syncreleasedb"
    

    Set SVN client path

    resources.db.params.host = "localhost"
    
  • Go to your SyncRelease website (example: http://syncrelease.mycompany.com) on browser and follow the installation wizard