nativeInstalleredx

Run commands

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

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.

edX Platform

Paver and Python commands are located in the installdir/apps/edx/bin directory.

For example, to update your database using Python, you will need to execute these commands:

$ sudo installdir/apps/edx/bin/python.edxapp ./manage.py lms migrate --settings bitnami
$ sudo installdir/apps/edx/bin/python.edxapp ./manage.py cms migrate --settings bitnami

XQueue

The Python and django-admin and executables are located in the installdir/apps/xqueue/bin directory.

For example, to update your database using django-admin, you will need to execute these commands:

$ sudo installdir/apps/xqueue/bin/django-admin.xqueue migrate --settings xqueue.bitnami_settings
Last modification April 12, 2019