Guide: How to Install OroCRM on a Vagrant Box

Posted by Unknown on Sunday, July 13, 2014

OroCRM is a CRM application we’ll be describing in a post dedicated to it tomorrow. This guide merely covers its installation and first run on a Vagrant Box - in particular, our good old Homestead Improved. If you need to get up and running with Homestead, see the original Quick Tip. If you want to follow along with tomorrow's post on OroCRM, get a head start by installing it with the procedures below!


Installation


Before we begin, make sure your original Homestead Improved instance is working well, then destroy it. If you want symlink support and are on Windows, re-run the command prompt and/or Git Bash window through which you’ll be using Vagrant commands with Administrator privileges:



This is optional - symlinks are not required for Oro to work.


Step 1: Add a Site


In Homestead.yaml, add the site:



- map: test.app
to
: /home/vagrant/Code/orocrm/web


The web subfolder is needed due to Symfony being the foundation Oro is built upon. This is the last operation we’ll do outside the VM. Enter it now with vagrant ssh after running vagrant up.


Step 2: Clone



cd Code
git clone http
://github.com/orocrm/crm-application.git orocrm


Step 3: Create the Database



mysql -u homestead -psecret
CREATE SCHEMA
`oro_crm` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;


Step 4: Configure Nginx and PHP


The configuration required for OroCRM in this case is as follows (replace the folder paths with your own if necessary). Put this into /etc/nginx/sites-available/test.app, replacing the original content:


Continue reading %Guide: How to Install OroCRM on a Vagrant Box%




more

{ 0 comments... » Guide: How to Install OroCRM on a Vagrant Box read them below or add one }

Post a Comment

Popular Posts