This documentation is for WSO2 Stratos 2.0.0. View the latest Apache Stratos documentation.
SugarCRM Express Guide - Stratos 2.0.0 - WSO2 Documentation
||
Skip to end of metadata
Go to start of metadata

 

Subscribing to a Cartridge and connecting to the data Cartridge using CLI  

  • Login to Stratos2.0 using CLI .  
    Upon successfully logging in, a confirmation message will appear.

    $ ./stratos.sh -u [email protected] -p password
    Successfully Authenticated!
  • Subscribe to PHP Cartridge and connected to the data Cartridge.  
     

    stratos>subscribe php mycrm --connect mysql --data-alias  crmdb --repoURL <git-repo-url> --username <username> --password <password>

    Command Argument Description

    SyntaxDescription
    phpPHP Cartridge.
    mycrm
    Alias for PHP application.
    mysqlMySQL Cartridge.
    crmdb
    Alias for MySQL database cartridge.
    repoURL

    URL of the ready-to-deploy Stratos2.0 SugarCRM repository.

    Example:
    https://github.com/lakwarus/sugarcrm.git

    username
    
    Username for provided GIT account. 
    password
    

    Password for provided GIT account.

    Output

    Subscribing to data cartridge : mysql with Alias crmDB
    You have successfully subscribed to mysql cartridge.
    Subscribing to mycrm cartridge and connecting with crmDB data cartridge
    Success!
    Your application is being published here http://mycrm.php.stratos.com:8280
    (this might take a minute... depending on repo size)

Add an entry in your /etc/hosts file for  mycrm.php.stratos.com    to be able to access the URL mentioned above in the command output.

In this case it is,

192.168.92.10    mycrm.php.stratos.com

The SugarCRM application is now ready to use. The default username and password are admin:admin

The login may take sometime to get enabled.


  • No labels