Giter VIP home page Giter VIP logo

edx-theme-2's Introduction

edx-theme

Build Status Dependencies Status Dev Dependencies Status

Open edX responsive theme using Bootstrap.

Screenshot

About this Open edX theme

This theme is developped originally for IONISx.

As it’s based on Bootstrap, it used Less (instead of Sass – which is used by Open edX). It is very simply customizable, you just need to change a few Less variables (see /src/less/variables.less).

Getting started

First of all, you need to know that the CSS output of the Less files is included in the repository. It’s not a very good practice, but it simplifies the (already cumbersome) deployment workflow of Open edX.

This is so you will never need to install any of the development dependencies in your production environment.

If you want to use this theme, and customize it, I recommend that you fork it, update it, build the CSS output, and push it all in.

Development environment

First, install grunt-cli and bower globally (or not) in order to have the required build tools.

npm install -g grunt-cli bower

Then fetch the local depedencies.

npm install
bower install

Finally, run grunt to build the theme’s source files. grunt will watch for changes and re-build the output automatically.

Run grunt build for a one time build.
Run grunt test to lint and check the code style your source files as well.

Production environment

As said earlier, DO NOT run npm install nor bower install on your production environemnt (this will require you to install nodejs, npm and bower, and why would you need that for a bunch of static files?

Just drop the files into /edx/edxapp/themes/$WHATEVER using your deployment tools. If you’re using Open edX’s configuration ansible playbooks, you’ll just need to set

edxapp_theme_source_repo: https://github.com/your-user/your-repo.git
edxapp_theme_version: your-tag
edxapp_theme_name: $WHATEVER     # from earlier
edxapp_use_custom_theme: true

See Open edX’s documentation on custom theming for more information.

License

AGPL

edx-theme-2's People

Contributors

tusbar avatar mtyaka avatar pchiu33 avatar fghaas avatar

Watchers

James Cloos avatar SAM.AM 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.