Local Settings

These are the settings that you may want to alter to adapt to your OppiaMobile installation.

To edit these settings you will need to edit the local_settings.py file, and for them to take effect you will need to restart your web server.

OPPIA_ALLOW_SELF_REGISTRATION

Default: True

This settings determines whether users are able to self register (i.e. anyone can create an account) on the server. Set this to False to prevent just anyone registering on your server - you will need to create their accounts yourself instead using the standard Django user management.

OPPIA_GOOGLE_ANALYTICS_ENABLED

Default: True

Whether or not to turn on Google Analytics tracking for your Oppia server.

OPPIA_GOOGLE_ANALYTICS_CODE

Your Google Analytics tracking code - only used if OPPIA_GOOGLE_ANALYTICS_CODE is set to True.

OPPIA_GOOGLE_ANALYTICS_DOMAIN

Your Google Analytics domain name - only used if OPPIA_GOOGLE_ANALYTICS_CODE is set to True.

OPPIA_MAX_UPLOAD_SIZE

Default: 5242880 (5Mb)

This is the maximum file course file size that can be uploaded (in bytes). This is to prevent users uploading very large files - for example if they haven’t appropriately resized images, or included video or other media files. Large course upload files may cause issues for end users (particularly those with slow internet connections) when trying to install the course on their phone.

Table Of Contents

Previous topic

Installation

Next topic

Upgrading

This Page