microsoft / oxa-tools

Open edX on Azure Tools
MIT License
36 stars 103 forks source link

Ecommerce #348

Closed fyrlandt closed 6 years ago

fyrlandt commented 6 years ago

Hi, I know that the edX that's deployed via STAMP doesn't have ecommerce installed. I've been using this guide https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/110330276/How+to+Install+and+Start+the+E-Commerce+Service+in+Native+Installations and I've actually installed the ecommerce service (ecomworker still isn't installed yet) but I can't do any of these: python manage.py makemigrations python manage.py migrate python manage.py create_or_update_site

Should I install mysql on the vmss instance so that I'd have mysql and be able to run the create_or_update_site command?

eltoncarr commented 6 years ago

We do not have an official guidance surrounding enabling ecommerce. However, any VMSS instance should already have a link to the backends and you shouldn't need to install mysql on any of them.

fyrlandt commented 6 years ago

So since I cant run the those commands on the VMSS instance, I'm supposed to run them on the MySQL VMs?

eltoncarr commented 6 years ago

I mentioned that you don't need to install mysql on the vmss instances. They already have a connection to the mysql backend. If you must run the migrations, you'd actually want to run them from the vmss instance.

fyrlandt commented 6 years ago

ok, i'll give it a shot, thanks