You are currently viewing documentation for a previously released version of OroCRM. See the latest long-term support version.
How to co-install OroCommerce and OroCRM¶
Note
- Before install OroCommerce over OroCRM you should change default parameter
web_backend_prefix
to some non-empty prefix, f.e. – ‘/admin’. - Package manager doesn’t show enterprise packages, so you can’t install commerce-enterprise and crm-enterprise through it, please use console instead.
Fresh install (console)¶
- Install composer dependencies with
composer install
- Install additional dependencies with
composer require package_name
- Install application ( Note:
application-url
is required parameter on install, another way your application can redirect you to default website url (localhost
))
Example:
$ app/console oro:install --env test --organization-name Oro --user-name admin --user-email admin@example.com --user-firstname John --user-lastname Doe --user-password admin --sample-data n --application-url http://local.dev --force
Install over existed application (console)¶
- Install additional dependencies with
composer require package_name
- Do database backup
- Run
app/console oro:platform:update --force
- If you do install OroCommerce over OroCRM please run next commands (“unsecure_url” and “secure_url” are urls of the current frontend part of website):
app/console oro:config:update oro_website.url unsecure_url
app/console oro:config:update oro_website.secure_url secure_url
Install over existed application (Package manager)¶
Caution
- Installation session requires changes in next php settings:
- memory_limit: 3G
- max_execution_time: 300
- Do database backup
- Go to package manager and install required packages
- If you do install OroCommerce over OroCRM please run next commands (“unsecure_url” and “secure_url” are urls of the current frontend part of website):
app/console oro:config:update oro_website.url unsecure_url
app/console oro:config:update oro_website.secure_url secure_url