Welcome to OroCRM the Open Source Customer Relationship Management (CRM) application.
OroCRM is a Symfony 2 based application with the following requirements:
- PHP 5.4.9 or above
- PHP 5.4.9 or above with command line interface
- PHP Extensions:
- MySQL 5.1 or above
- PostgreSQL 9.1 or above
OroCRM uses Composer to manage package dependencies, this is the a recommended way to install OroCRM.
- If you don’t have Composer yet, download it and follow the instructions on http://getcomposer.org/ or just run the following command:
curl -s https://getcomposer.org/installer | php
- Clone https://github.com/orocrm/crm-application.git OroCRM project with:
git clone http://github.com/orocrm/crm-application.git
Make sure that you have NodeJS installed
Install OroCRM dependencies with composer. If installation process seems too slow you can use “–prefer-dist” option. Go to crm-application folder and run composer installation:
php composer.phar install --prefer-dist --no-dev
Create the database with the name specified on previous step (default name is “oro_crm”).
Install application and admin user with Installation Wizard by opening install.php in the browser or from CLI:
php app/console oro:install --env prod
- Enable WebSockets messaging
php app/console clank:server --env prod
- Configure crontab or scheduled tasks execution to run command below every minute:
php app/console oro:cron --env prod
app/console is a path from project root folder. Please make sure you are using full path for crontab configuration or if you running console command from other location.
Installed PHP Accelerators must be compatible with Symfony and Doctrine (support DOCBLOCKs).
Note that the port used in Websocket must be open in firewall for outgoing/incoming connections
Using MySQL 5.6 on HDD is potentially risky because of performance issues.
Recommended configuration for this case:
innodb_file_per_table = 0
And ensure that timeout has default value
wait_timeout = 28800
See Optimizing InnoDB Disk I/O for more
PostgreSQL installation notes
You need to load
uuid-ossp extension for proper doctrine’s
guid type handling.
Log into database and run sql query:
CREATE EXTENSION "uuid-ossp";
Loading Demo Data using command line
To load sample data you need to run console command
php app/console oro:migration:data:load --fixtures-type=demo --env=prod
Web Server Configuration
OroCRM application is based on symfony standard application so web server cofiguration recomendation are the same.