Depending on the application you want to manage (edX Platform or XQueue), there is a list of scripts available to run these commands with a pre-configured environment for the application. The available scripts for each application are described below.
Paver and Python commands are located in the /opt/bitnami/apps/edx/bin directory.
For example, to update your database using Python, you will need to execute these commands:
$ cd /opt/bitnami/apps/edx/edx-platform $ sudo /opt/bitnami/apps/edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings bitnami $ sudo /opt/bitnami/apps/edx/bin/python.edxapp ./manage.py cms syncdb --migrate --settings bitnami
The Python and django-admin and executables are located in the /opt/bitnami/apps/xqueue/bin directory.
For example, to update your database using django-admin, you will need to execute these commands:
$ sudo /opt/bitnami/apps/xqueue/bin/django-admin.xqueue syncdb --migrate --settings xqueue.bitnami_settings