GithubHelp home page GithubHelp logo

platform-application's Introduction

Oro Platform Empty Application

An example of an empty application using the Oro Platform.

This repository contains application configuration settings and depends on Oro Platform. It can be used as a starting point to build applications using the oro Platform.

Requirements

Oro Platform is a Symfony 2 based application with the following requirements:

  • PHP 5.4.4 or above
  • PHP 5.4.4 or above with command line interface
  • PHP Extensions
    • GD
    • Mcrypt
    • JSON
    • ctype
    • Tokenizer
    • SimpleXML
    • PCRE
    • ICU
  • MySQL 5.1 or above

Installation instructions

Using Composer

As both Symfony 2 and Oro Platform use Composer to manage their dependencies, this is the recommended way to install the Oro Platform.

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
    git clone https://github.com/orocrm/platform-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
  • Create the database with the name specified on previous step (default name is "bap_standard").

  • 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 the command below every minute:
php app/console oro:cron --env prod

Note: 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.

Using vagrant (for development)

If you want to use the provided vagrant setup, make sure you have vagrant and VirtualBox installed on your machine. Then run the following command

vagrant up

To actually setup the application, you have to login to your vagrant box and start the installation:

vagrant ssh # connect to the virtual machine
php app/console oro:install --env prod # start the oro installation

To be able to easily access your vagrant setup on your host system, add a new host entry (usually in /etc/hosts):

172.21.33.72  oroplatform.lo

After that you'll be able to access your installation using the following URL: http://oroplatform.lo

Installation notes

Installed PHP Accelerators must be compatible with Symfony and Doctrine (support DOCBLOCKs)

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

Package Manager Configuration

Github OAuth token should be configured in package manager settings

platform-application's People

Contributors

rgrebenchuk avatar yshyshkin avatar yurio avatar ignat-s avatar nidup avatar alex-n-2k7 avatar dkhrysev avatar grygir avatar fitn avatar bitone avatar iklymenko avatar kotfalya avatar vsoroka avatar x86demon avatar santyagoseaman avatar dimasoroka avatar ishakuta avatar dpoloka avatar eu-ge-ne avatar ruslan-polutsygan avatar vatson avatar vladimire avatar alexandrdmitriev avatar dxops avatar metaodi avatar webda2l avatar lsmith77 avatar yoavkutner 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.