alikhil / edx-quick-start

Setup open edx fullstack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open EDX Fullstack. Installation and Configuration.

Here I will describe steps that I made to make edx be configured as to be used in production.

Before, make sure that your machine meet hardware requirements and that it supports nested virtualization(if you installing it on other VM).

  1. Follow installation tutorial.
  2. Set AWS S3 settings.
  3. Configure nginx/apache

Setting AWS S3

cd fullstack
vagrant ssh

Update following strings in cms.auth.json and lms.auth.json

{
    
    "AWS_ACCESS_KEY_ID": "your amazon s3 key id here", 
    "AWS_QUERYSTRING_AUTH": true, 
    "AWS_S3_CUSTOM_DOMAIN": null, 
    "AWS_SECRET_ACCESS_KEY": "secret key", 
    "AWS_STORAGE_BUCKET_NAME": "some bucket name", 
   
}

Update following strings in cms.env.json and lms.env.json

    "GRADES_DOWNLOAD": {
        "BUCKET": "grades bucket", 
        "ROOT_PATH": "tmp/edx-s3/grades", 
        "STORAGE_CLASS": "django.core.files.storage.FileSystemStorage", 
        "STORAGE_KWARGS": {
            "location": "/tmp/edx-s3/grades"
        }, 
        "STORAGE_TYPE": "s3"
    }

Set other bucket names for course import, file upload etc.

Configuring nginx/apache

Setup redirect to your vagrant box for ports 80 and 18010 (lms + cms).

Don't forget to setup maximum body size!.

Links

Troubles with uploading grades to S3

Steps to upload file with OpenAssessment to Amazon AWS

Configuring SMTP

Open edX Configuration

About

Setup open edx fullstack