Commit 469662c9 by Tim Krones

Fix installation process.

parent b9708906
......@@ -36,7 +36,7 @@ Install the requirements into the Python virtual environment of your
root folder:
```bash
$ pip install -e .
$ pip install -r requirements.txt
```
Enabling in Studio
......@@ -105,15 +105,27 @@ You can define an arbitrary number of drag items.
Testing
-------
Inside a fresh virtualenv, run
Inside a fresh virtualenv, `cd` into the root folder of this repository
(`xblock-drag-and-drop-v2`) and run
```bash
$ cd .../xblock-drag-and-drop-v2/
$ sh install_test_deps.sh
```
To run the tests, from the xblock-drag-and-drop-v2 repository root:
You can then run the entire test suite via
```bash
$ python run_tests.py
```
To only run the unit test suite, do
```bash
$ python run_tests.py tests/unit/
```
Similarly, you can run the integration test suite via
```bash
$ python run_tests.py tests/integration/
```
git+https://github.com/edx/xblock-utils.git@v1.0.0#egg=xblock-utils==v1.0.0
-e .
......@@ -31,7 +31,6 @@ setup(
'xblock-utils',
'ddt'
],
dependency_links = ['http://github.com/edx/xblock-utils/tarball/master#egg=xblock-utils'],
entry_points={
'xblock.v1': 'drag-and-drop-v2 = drag_and_drop_v2:DragAndDropBlock',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment