opencart #3

  • By jose
  • Latest version (#3)
  • precise
  • Stable
  • Edge

Description

OpenCart is a turn-key ready "out of the box" shopping cart solution. You
simply deploy, select your template, add products and you're ready to start
accepting orders.


Overview

OpenCart is an open-source ecommerce solution. This charm will allow you to
deploy OpenCart.

Usage

In order to deploy this charm, execute the following commands

juju deploy opencart
juju deploy mysql
juju add-relation opencart mysql
juju expose opencart

In order to access your online store, you can go to the IP address found on
juju status. For the administration interface, append /admin/ to the end of
the same IP address.

Please, make sure you are configuring the charm correctly. You can find more
information about configuration in the next section of this document.

Unfortunately, this charm cannot be scaled at the moment.

Configuration

This charm has four options, and three of them are required:

  • user: REQUIRED, it is the username that you will use to log in to the
    administration panel.
  • password: REQUIRED, it is the password for the username set above.
  • email: REQUIRED, it is the email address for the administrator account.
  • domain: This is the domain name where your online store will be located.
    It is needed as some assets reference to this domain. If you do not set this
    option, Juju will take the IP address of the instance as the default domain. It
    needs to be set in the value http://*/, where * is your domain.

You can set any of this values by executing the following:

juju set opencart [valuename]=[value]

If you do not set any of the required values in time, the instance will enter in
error state, saying that the config-changed hook has failed. If you happen to
see this error, set the values by using the command above. Once finished,
run the following command, where # is the unit number that is in error state
specified by looking at juju status:

juju resolved opencart/# --retry

Contact Information

OpenCart

Configuration

domain
(string) The domain used for the server. Goes in the format http://doma.in/
password
(string) The password used for the administrator account
email
(string) The email address used for the administrator account
user
(string) The username used for the administrator account