Skip to content

Instantly share code, notes, and snippets.

View AsadDevAI's full-sized avatar
🎯
Focusing

Asad AsadDevAI

🎯
Focusing
View GitHub Profile
@AsadDevAI
AsadDevAI / EDX_ DJANGO_EMAIL_CONFIGURATIONS.md
Last active April 22, 2020 07:17
Guide to enable django email service in edX locally

To Enable Django Email Service Locally:

  • First you need valid Gmail Account
  • edX installed on your local system in docker

Steps to Follow:

  1. Go to devstack.py located at lms/env/ and cms/env.
  2. Find the EMAIL_BACKEND flag and change it to 'django.core.mail.backends.smtp.EmailBackend
  3. Add few more flags:
@AsadDevAI
AsadDevAI / How to squash commits
Created November 29, 2019 10:15
How to squash commits
When submitting a pull request to Project, we ask that you squash your commits before we merge.
Some applications that interact with git repos will provide a user interface for squashing. Refer to your application's document for more information.
If you're familiar with Terminal, you can do the following:
* Make sure your branch is up to date with the master branch.
* Run `git rebase -i master`.
* You should see a list of commits, each commit starting with the word "pick".
* Make sure the first commit says "pick" and change the rest from "pick" to "squash".
@AsadDevAI
AsadDevAI / edx_users_maus_data_import.md
Last active September 23, 2022 21:47
Guide to create and import users maus data into edx LMS

Open LMS Shell

make lms-shell

Run shell environment

./manage.py lms shell

Create Users

Setup Git Repo "time_tracker" Locally

Create a new repository on the command line

echo "# time_tracker" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/asadmanzoor93/time_tracker.git git push -u origin master

@AsadDevAI
AsadDevAI / zsh.md
Created February 21, 2019 09:42
Getting zsh to work in ubuntu
@AsadDevAI
AsadDevAI / xdebug_installation_on_linux.md
Created February 21, 2019 09:41
Please follow the following steps to configure Xdebug on Linux.

Xdebug Installation

Please follow the following steps to configure Xdebug on Linux.


Tested on

@AsadDevAI
AsadDevAI / Openedx_setup_gist.md
Last active September 23, 2022 21:47
To run the Open edX devstack on your local machine please follow the instructions.

Open Edx Local Environment Configuration

Our devstack is run on the hawthorn release of Open edX. It is divided into a number of Docker containers and they are managed using custom scripts and commands (courtesy of the edX team).

Prerequisites

This project requires Docker 17.06+ CE. We recommend Docker Stable, but Docker Edge should work as well.

For downloading Docker 17.06+ CE you must follow this link

@AsadDevAI
AsadDevAI / New Linux mint system setup.md
Last active February 21, 2019 09:39
List of things to install on New linux Mint System