Skip to content

About

OpenCart web shop for the RoboCup Logistics League

Resources

Stars

1 star

Watchers

3 watching

Forks

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RoboCup Logistics League OpenCart Webshop

OpenCart usage in RoboCup Logistics League

CREDENTIALS:

Account Password
opencart-admin admin admin
opencart-user spectator.audience@gmail.com pass
mysql-root root Ro0t.123
gmail spectator.audience@gmail.com rcll.demo

DEPENDENCIES:

SETUP DATABASE:

  1. Make sure your Database setup matches the Credentials.

  2. Create a database called opencart_ros.

SETUP WEBSHOP:

  1. Copy the opencart folder from opencart_restore into the web-root of your webserver. (e.g. /var/www/http)
  • Make sure the opencart folder has the correct read and write access (refer to opencart installation)
  1. Change the user and group of the opencart folder to the webdeamons user. For example:
    $ cd /var/www/http 
    $ chown apache opencart 
    $ chgrp apache opencart
  2. Ensure the webdeamons access policies when you are using SELinux. For example:
    $ setsebool -P httpd_unified 1
  3. Enable server to send E-Mails. For example:
    $ setsebool -P httpd_can_sendmail 1
  4. Read sqldump to database system. For example:
    $ mysql -u root -p opencart_ros < opencart_ros.sql
  5. Set your hostname in /your/path/to/htmlorhttp/opencart/config.php
    // HTTP
    define('HTTP_SERVER', 'http://YOURHOSTNAME/opencart/');
    
    // HTTPS
    define('HTTPS_SERVER', 'http://YOURHOSTNAME/opencart/');

SETUP REFBOX

  1. Build RefBox according to the install instructions: RCLL Refbox

  2. Enable Webshop in rcll-refbox-path>/cfg/config.yaml :

webshop:
        enable: true

SETUP ROS

  1. Copy ROS Packages opencart_refbox and ros_opencart into a catkin workspace.
  2. Define an environment variable RCLL_REFBOX_DIR:
$ export RCLL_REFBOX_DIR=<path-to/your-refbox-directory>
  1. Build catkin workspace with:
$ catkin_make -DREFBOX_PATH=<path-to/your-refbox-directory>
  1. Launch
$ roslaunch opencart_refbox refbox_controller.launch

KNOWN PITFALLS:

    Disable SELinux temporarily for opencart installation
    Make sure all read/write options are properly set up (chmod 0755) for opencart as well as
    the webshop

About

OpenCart web shop for the RoboCup Logistics League

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages