Coder Social home page Coder Social logo

friendsre's Introduction

Friends Razors Edge Integration

This plugin for the Friends Platform syncronizes data from a razors edge database into the friends platform.

Overview

An artisan command is provided that will syncronize records from your Razors Edge installation into a new table in the Friends Platform. The syncronization will create a record for all records in your RE database. If an account exists then the record will be automatically connected to the appropriate user account using the email address as a primary identifier.

Installation

Configure your server to connect to an MS-SQL database

In order for the friends platform to connect to your razors edge server you will need to install and configure support for MS-SQL in PHP. The most common method is to install and confingure FreeTDS documentation is provided on the FreeTDS website

Configure OctoberCMS to connect to your database

In config/database.php add a new database as follows:

'razorsedge' => array(
	'driver'   => 'sqlsrv',
	'host'     => MSSQL_HOSTNAME,
	'port'     => '1433',
	'database' => 're7',
	'username' => USERNAME,
	'password' => PASSWORD,
	'prefix'   => '', 
 ),  

Setup cron

The cron task to syncronize data can be very cpu intensive. It is recommended that it is configured to run in half hour intervals during non business hours if possible.

*/30 * * * * php /PATH_TO_OCTOBERCMS_ROOT/artisan friends:sync-razorsedge

friendsre's People

Contributors

karnold 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.