The way I installed ecommerce is I specified ecommerce roles in
edx_sandbox.yml

...
roles:
    - { role: swapfile, SWAPFILE_SIZE: "2GB" }
    - role: nginx
      nginx_sites:
      - certs
      - cms
      - lms
      - forum
      - xqueue
      nginx_default_sites:
      - lms
    - role: nginx
      nginx_sites:
      - ecommerce
      when: SANDBOX_ENABLE_ECOMMERCE
    - role: mysql
      when: EDXAPP_MYSQL_HOST == 'localhost'
    - edxlocal
    - role: mongo
      when: "'localhost' in EDXAPP_MONGO_HOSTS"
    - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' }
    - { role: 'edxapp', celery_worker: True }
    - edxapp
    - role: ecommerce
      when: SANDBOX_ENABLE_ECOMMERCE
    - role: ecomworker
      when: SANDBOX_ENABLE_ECOMMERCE
    - notifier
    - analytics_api
....

On Mon, Aug 1, 2016 at 12:28 PM, Nishant Dixit <[email protected]>
wrote:

> @Juanito, i followed the manual instruction given here -
>
> https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation
>
> now when i run that ansible playbook via this command -
>
> cd /var/tmp/configuration/playbooks/edx-east && sudo ansible-playbook -c
> local ./ecommerce.yml -i "localhost,"
>
> I get this error -
>
> ERROR: become is not a legal parameter in an Ansible task or handler
>
>
> On Monday, August 1, 2016 at 9:12:41 PM UTC+5:30, Juanito wrote:
>>
>> playbook that I am referring to is an Ansible concept. That is how
>> everything gets installed. I strongly recommend getting a general idea what
>> Ansible is.
>>
>> I followed these steps and it worked out for me:
>>
>> https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation
>>
>> Make sure you specify named-release/dogwood.3 for repos.
>>
>>
>> On Mon, Aug 1, 2016 at 11:29 AM, Nishant Dixit <[email protected]>
>> wrote:
>>
>>> Hello Juanito.
>>> What do you mean that you run the playbbok file. Can you write the steps
>>> to do that. I am a beginner and I don't know what to do. Although, the same
>>> file does exist in my server but i don't know what to do with it.
>>>
>>>
>>> On Friday, March 11, 2016 at 1:10:53 AM UTC+5:30, Juanito wrote:
>>>>
>>>> Hey Guys,
>>>>
>>>> I am trying to have ecommerce service up and running. I hope I am doing
>>>> this right. I am trying to install ecommerce on dogwood on ubuntu 12.04 aws
>>>> box. Since it wasn't installed initially by ansible, I saw that there was
>>>> the */var/tmp/configuration/playbooks/edx-east/ecommerce.yml *playbook.
>>>> Well, I ran it and it got installed:
>>>>
>>>> analytics_api                    RUNNING   pid 3620, uptime 2 days,
>>>> 1:22:51
>>>> certs                            RUNNING   pid 9090, uptime 2 days,
>>>> 1:06:00
>>>> *ecommerce                        RUNNING   pid 2482, uptime 0:47:41*
>>>> ecomworker                       RUNNING   pid 12972, uptime 0:19:23
>>>> edx_notes_api                    RUNNING   pid 14255, uptime 2 days,
>>>> 1:14:49
>>>> edxapp:cms                       RUNNING   pid 24456, uptime 1 day,
>>>> 2:53:08
>>>> edxapp:lms                       RUNNING   pid 24455, uptime 1 day,
>>>> 2:53:08
>>>> edxapp_worker:cms_default_1      RUNNING   pid 13562, uptime 0:17:36
>>>> edxapp_worker:cms_high_1         RUNNING   pid 13560, uptime 0:17:36
>>>> edxapp_worker:cms_low_1          RUNNING   pid 13558, uptime 0:17:36
>>>> edxapp_worker:lms_default_1      RUNNING   pid 13561, uptime 0:17:36
>>>> edxapp_worker:lms_high_1         RUNNING   pid 13564, uptime 0:17:36
>>>> edxapp_worker:lms_high_mem_1     RUNNING   pid 13559, uptime 0:17:36
>>>> edxapp_worker:lms_low_1          RUNNING   pid 13563, uptime 0:17:36
>>>> forum                            RUNNING   pid 9820, uptime 2 days,
>>>> 1:05:20
>>>> insights                         RUNNING   pid 13028, uptime 2 days,
>>>> 1:15:09
>>>> notifier-celery-workers          RUNNING   pid 9789, uptime 2 days,
>>>> 1:05:31
>>>> notifier-scheduler               RUNNING   pid 9761, uptime 2 days,
>>>> 1:05:42
>>>> xqueue                           RUNNING   pid 8242, uptime 2 days,
>>>> 1:06:42
>>>> xqueue_consumer                  RUNNING   pid 8273, uptime 2 days,
>>>> 1:06:40
>>>>
>>>> It is currently accessible through port http://myPublicURL:18130, but
>>>> it is giving me server error. I check the logs on
>>>> */edx/var/log/ecommerce/edx.log*
>>>>
>>>> this is what I found:
>>>>
>>>> OperationalError: (1045, "Access denied for user 'ecomm001'@'localhost'
>>>> (using password: YES)")
>>>>
>>>> It looks like it needs additional configuration. I don't see any
>>>> database for ecommmerce:
>>>>
>>>> mysql> show databases;
>>>> +--------------------+
>>>> | Database           |
>>>> +--------------------+
>>>> | information_schema |
>>>> | analytics-api      |
>>>> | dashboard          |
>>>> | edx_notes_api      |
>>>> | edxapp             |
>>>> | mysql              |
>>>> | performance_schema |
>>>> | reports            |
>>>> | test               |
>>>> | xqueue             |
>>>> +--------------------+
>>>>
>>>> Anyone know what I am missing?
>>>>
>>>> On Thursday, March 10, 2016 at 11:15:27 AM UTC-5, Jacek Bzdak wrote:
>>>>>
>>>>> Amir,
>>>>>
>>>>> there is no support for Stripe in Ecommerce at the moment, however I'm
>>>>> developing a PR that implements it, it should be done in next couple of
>>>>> days. You can watch progress here:
>>>>> https://github.com/edx/ecommerce/pull/601
>>>>>
>>>>> On Wed, Mar 9, 2016 at 7:36 AM, Amir Tadrisi <[email protected]> wrote:
>>>>>
>>>>>> Hi guys i have openedx instance dogwood in my aws server , i have
>>>>>> everything excellent up and running but i need to integrate paypal and
>>>>>> stripe to my server  im pretty confused of how to set up ecommerce there 
>>>>>> is
>>>>>> there any good doc for start to learn how to do it
>>>>>> thanks
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "General Open edX discussion" group.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/edx-code/817056ef-6f8d-4c92-9e4b-d3ad8b15443c%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/edx-code/817056ef-6f8d-4c92-9e4b-d3ad8b15443c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jacek
>>>>> @OpenCraft
>>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "General Open edX discussion" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/edx-code/fb886643-703a-46b3-8ab0-eb3beeebf085%40googlegroups.com
>>> <https://groups.google.com/d/msgid/edx-code/fb886643-703a-46b3-8ab0-eb3beeebf085%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>>
>> --
>> Ki Hwan Song
>> 송기환
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "General Open edX discussion" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/edx-code/5aaacb06-84cc-45ab-97b9-04dd16c46f3a%40googlegroups.com
> <https://groups.google.com/d/msgid/edx-code/5aaacb06-84cc-45ab-97b9-04dd16c46f3a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>



-- 
Ki Hwan Song
송기환

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/CAF47s4wcJpYEJ7hObJ6c6uPCs_J-BzX%3DWjCPXn-iG5MSR8R-EA%40mail.gmail.com.

Reply via email to