How to install MOR Front-End

From Kolmisoft Wiki
Revision as of 12:55, 28 May 2013 by Admin (talk | contribs)
Jump to navigationJump to search


Configuration from MOR GUI


Login to MOR as admin and go to SETTINGS > Setup > Settings > API.

Check options "Allow API" and "API allow Registration".

Put any password in "API Secret Key".


Installation


Connect to server on which MOR Front-End should be installed via SSH.

There should be CentOS operating system on server.

You can install MOR Front-End where MOR is installed.


Issue following commands:

yum -y install subversion
svn co http://svn.kolmisoft.com/magento/install_script /usr/src/magento_install
sh /usr/src/magento_install/magento_install.sh /var/www/html/INSTALL_DIRECTORY 'http://SERVER_IP/DIRECTORY/' 'MOR_API_KEY' 'http://MOR_SERVER_ADDRESS/billing' db_username db_password db_name db_host

Place correct values on last command:

INSTALL_DIRECTORY - directory where Front End files will be placed. Example: mor_front_end

SERVER_IP - IP of server on which Front End will be installed. IP of server to which you are connected. Example: 11.22.33.44

DIRECTORY - address which should be entered to access Front End. Example: accounts

MOR_API_KEY - same key which was entered in SETTINGS > Setup > Settings > API.

MOR_SERVER_ADDRESS - IP of MOR server. If you have few servers solution, it should be IP of GUI server. Example: 22.33.44.55

db_username - Front End database user which will be used by Front End.

db_password - password of same user.

db_name - name of Front End database. It will be create by install scripts. DO NOT USE 'mor' or other database names which already exist. Example: mor_front_end

db_host - if you do not want to use remote database, then use 127.0.0.1 here.

Administrator password will be automatically generated during installation. Please check output to see it.


Front-End access


When installation is completed, you can put

http://SERVERIP/DIRECTORY/

on your browser to access Front End.


To access administrator interface, use

http://SERVERIP/DIRECTORY/admin

username is magento_admin

password was provided during installation.