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).
- Follow installation tutorial.
- Set AWS S3 settings.
- 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