Skip to main content

Posts

Showing posts from February 12, 2018

How to add Custom Static Page in Open-edX

Step's to add Custom Static Page to Open-edX Learn how to add a custom static web page to your Open edX installation. This simple step-by-step how-to guide explains how to register the page with the Django router and where to store it on your Ubuntu server so that Nginx will serve it from the root of your site. Summary The architects of Open edX software made it easy for you to add static content to your site; that is, once you’ve seen a working example. Actually, technically, you can add any static digital content that you intend to access via a static URL. For example, you can add any of the following using this simple procedure: a static web page that includes your site’s theme styling and includes the site’s header and footer. a replacement Favicon ico file a human.txt file a google site verification html file a sitemap.xml In this tutorial we’ll add a  Google Site Verification  html page to our site. This seems to be one of

How to Setup google analytics on Open-edX

Setup Google Analytics on Open edX Get Google Analytics working on your Open edX platform with this simple step-by-step how-to guide. Covers Google site verification, Javascript snippet installation, Open edX code modifications. Summary In this article we’ll add Google Analytics’ Javascript code snippet to every page on our Open edX site. To accomplish this we’ll need to modify the main Django/Mako template for the site, which is located in /edx/app/edxapp/edx-platform/lms/templates/main.html and can be overridden by your own template of the same name in your custom theme. Here are the steps: Verify Your Site With Google Modify the main.html Mako template Restart the server Verify Your Results If you’re just getting started then you can read more here:  Set up Google Analytics tracking with gtag.js . Take note that you’ll find parameters in lms.env.json for Google Analytics,  HOWEVER , as of the current Ginkgo.2 release the main Mak

Open edX Step-By-Step Production Installation Guide

Get your first Open edX platform up and running with this detailed step-by-step how-to guide that provides detailed instructions on how to build your AWS EC2 Ubuntu Linux server, execute the Open edX native build scripts, and configure your new platform. The first time I installed an instance of Open edX, in many ways I felt like I was on the outside looking in. The project documentation that exists is very good, but, it assumes an extensive knowledge base that, at the time, I lacked. This article attempts to fill in some of the gaps in that knowledge base, and hopefully, make the Open edX platform more accessible. Note: this article references Bash scripts that are located in this Github repository: https://github.com/lpm0073/edx.ginkgo This is a step-by-step fully automated script to stand up a single-server full-stack production-ready instance of Open edX running on an Amazon Web Services (AWS) EC2 (Elastic Compute Cloud — aka virtual server) R3.Large instance (aka 2-cpu ser