Coder Social home page Coder Social logo

kriwil / edx-ora2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openedx/edx-ora2

0.0 3.0 0.0 62.84 MB

Open Response Assessment Suite

License: GNU Affero General Public License v3.0

Makefile 0.06% JavaScript 16.18% Python 68.48% HTML 7.80% CSS 6.99% Shell 0.48%

edx-ora2's Introduction

Open Response Assessment Travis build status Coverage badge

User docs: User documentation Developer docs: Developer documentation

Installation

The intent of this project is to be installed as Django apps that will be included in edx-platform.

But development is done in the Workbench which is part of the xblock-sdk. Currently Ubuntu 12.04 is assumed. You can setup everything in a Vagrant instance.

To do so install the latest VirtualBox >= 4.3.12 and the latest Vagrant >= 1.6.5.

Clone the repo:

mkdir orastack
cd orastack
git clone [email protected]:edx/edx-ora2.git

Create the Vagrant instance:

ln -s ./edx-ora2/Vagrantfile ./
vagrant plugin install vagrant-vbguest
vagrant up

The first vagrant up will fail when setting up shared folders (because the user ora2 does not exist) so do:

vagrant provision
vagrant reload

Now you can ssh into the vagrant machine:

vagrant ssh
sudo su ora2

To install all dependencies:

make install
make install-dev

Running the Development Server

./scripts/workbench.sh

Additional arguments are passed to runserver. For example, to start the server on port 9000:

./scripts/workbench.sh 0.0.0.0:9000

Combining and Minifying JavaScript and Sass

To reduce page size, the OpenAssessment XBlock serves combined/minified versions of JavaScript and CSS. This combined/minified files are checked into the git repository.

If you modify JavaScript or Sass, you MUST regenerate the combined/minified files:

# Combine/minify JavaScript
make javascript

# Combine/minify CSS (from Sass)
./scripts/sass.sh

Make sure you commit the combined/minified files to the git repository!

Running Tests

To run all tests:

make test

To limit Python tests to a particular module:

./scripts/test-python.sh openassessment/xblock/test/test_openassessment.py

To run just the JavaScript tests:

./scripts/test-js.sh

To run the JavaScript tests in Chrome so you can use the debugger:

./scripts/js-debugger.sh

i18n

You will need to:

  1. Install i18n-tools.
  2. Configure Transifex, as described in the docs.
  3. Install gettext.

To extract strings and push to Transifex

./scripts/i18n-push.sh

To pull strings from Transifex

./scripts/i18n-pull.sh

License

The code in this repository is licensed under version 3 of the AGPL unless otherwise noted.

Please see LICENSE.txt for details.

How to Contribute

Contributions are very welcome. The easiest way is to fork this repo, and then make a pull request from your fork. The first time you make a pull request, you may be asked to sign a Contributor Agreement.

Reporting Security Issues

Please do not report security issues in public. Please email [email protected]

Mailing List and IRC Channel

You can discuss this code on the edx-code Google Group or in the edx-code IRC channel on Freenode.

edx-ora2's People

Contributors

talbs avatar gradyward avatar srpearce avatar jrbl avatar symbolist avatar singingwolfboy avatar muhammad-ammar avatar mhoeber avatar waheedahmed avatar omarithawi avatar andy-armstrong avatar adampalay avatar nedbat avatar nasthagiri avatar sjang92 avatar simultech avatar la0 avatar dmitchell avatar feanil avatar stvstnfrd avatar zubair-arbi avatar

Watchers

Aldiantoro Nugroho avatar James Cloos avatar  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.