Giter Site home page Giter Site logo

crm's Introduction

OroCRM Application

This is an example of a fully functional OroCRM application which can be used as is or customized to meet your business needs.

System Requirements

Before starting the installation process, please prepare infrastructure environment based on the system requirements.

Installation

  • Clone OroCRM application repository:
    git clone -b x.y.z https://github.com/orocrm/crm-application.git

where x.y.z is the latest release tag or use the latest master:

    git clone https://github.com/orocrm/crm-application.git
    composer self-update
    composer global require "fxp/composer-asset-plugin"

Note: This is a temporary solution. After plugin version 1.3.0 is released, the requirement will be changed to version 1.3 (see related issue).

  • Install Node.js.

  • Install application dependencies running the following command from the application folder:

    composer install --prefer-dist --no-dev
  • Create the database with the name specified in the previous step (default name is "oro_crm").

  • Install the application and the admin user with the Installation Wizard by opening install.php in the browser or from CLI:

php app/console oro:install --env=prod
  • Configure the Web Socket server process and the Message Queue consumer process in Supervisor:
[program:orocrm_web_socket]
command=/path/to/app/console clank:server --env=prod
numprocs=1
autostart=true
startsecs=0
user=www-data
redirect_stderr=true

[program:orocrm_message_consumer]
command=/path/to/app/console oro:message-queue:consume --env=prod
process_name=%(program_name)s_%(process_num)02d
numprocs=5
autostart=true
autorestart=true
startsecs=0
user=www-data
redirect_stderr=true

or run them manually:

php /path/to/app/console clank:server --env=prod
php /path/to/app/console oro:message-queue:consume --env=prod

Note: the port used by Web Socket must be open in the firewall for outgoing/incoming connections.

  • Configure crontab:
*/1 * * * * /path/to/app/console oro:cron --env=prod

or scheduled tasks execution to run the command below every minute:

php /path/to/app/console oro:cron --env=prod

Note: /path/to/app/console is a full path to app/console script in your application.

Opcache

Recommended configuration

;512Mb for php5
opcache.memory_consumption=512

;256Mb for php7
opcache.memory_consumption=256
opcache.max_accelerated_files=32531
opcache.interned_strings_buffer=32

See Symfony Performance

Using Redis for application caching

To use Redis for application caching, follow the corresponding configuration instructions

crm's People

Contributors

ahilles107 avatar alex-kuzmenko avatar alex-n-2k7 avatar alexandr-parkhomenko avatar alexandrdmitriev avatar anyt avatar dimasoroka avatar dkhrysev avatar dxops avatar eu-ge-ne avatar grygir avatar ignat-s avatar iklymenko avatar ishakuta avatar kotfalya avatar makasim avatar mccar avatar oro-buildbot avatar orocommerce-ci avatar orocrmdeployer avatar rgrebenchuk avatar sergeyz avatar takeit avatar torchello avatar tumbochka avatar vitaliyberdylo avatar vsoroka avatar x86demon avatar yshyshkin avatar yurio avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.