Giter Club home page Giter Club logo

derex.runner's Introduction

Manage Open edX projects

Test results Coverage results

Introduction

Derex simplifies running edX: it takes care of starting the needed services (mysql, mongodb, rabbitmq etc) and introduces the concept of edX _projects_.

A project is a directory that defines what an edX instance should look like. It can specify additional requirements, custom themes and plugins.

`derex.runner` uses docker compose (it's bundled, you don't have to install it separately) to orchestrate the many necessary pieces.

Requirements

Make sure you have python 3.6 or later and docker 19.03.5 or later installed.

A virtualenv is also recommended. For derex we use direnv. Its main purpose is to define directory-specific environment variables, but it can also automatically activate a virtualenv when you `cd` into a directory. We include a `.envrc` file that will instruct `direnv` to create and activate a local python3 virtualenv.

We recommend to install it to try out the following instructions. Alternatively you can replace `direnv allow` with your virtualenv activation command.

Quickstart

Run the following commands:

git clone https://github.com/Abstract-Tech/derex.runner.git
cd derex.runner
direnv allow
pip install -r requirements.txt -e .
cd tests/fixtures/minimal/
ddc-services up -d  # Start mysql, mongodb, rabbitmq and admin tools
derex reset-mailslurper  # Prime the mailslurper mysql database
derex reset-mysql  # Prime the mysql database
ddc-project up -d  # Start LMS/CMS daemons and workers
derex compile-theme  # Compile theme sass files

Then head to one of the started services:

You can login to the CMS and LMS using one of these users (the password is always secret):

  • Username: user, email [email protected] Represents a student user.
  • Username: staff, email [email protected] Represents a member of the teaching staff.
  • Username: superuser, email [email protected] Represents an administrator of Open edX. This user has full permissions inside the platform.

Credits

This work uses extensively parts of the tutor project. Many thanks to Régis Behmo!

This package was created with Cookiecutter and the cookiecutter-namespace-template project template.

derex.runner's People

Contributors

chiruzzimarco avatar silviot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.