Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
469662c9
Commit
469662c9
authored
Jan 13, 2016
by
Tim Krones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installation process.
parent
b9708906
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
README.md
+16
-4
requirements.txt
+2
-0
setup.py
+0
-1
No files found.
README.md
View file @
469662c9
...
@@ -36,7 +36,7 @@ Install the requirements into the Python virtual environment of your
...
@@ -36,7 +36,7 @@ Install the requirements into the Python virtual environment of your
root folder:
root folder:
```
bash
```
bash
$
pip install
-
e
.
$
pip install
-
r
requirements.txt
```
```
Enabling in Studio
Enabling in Studio
...
@@ -105,15 +105,27 @@ You can define an arbitrary number of drag items.
...
@@ -105,15 +105,27 @@ You can define an arbitrary number of drag items.
Testing
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
```
bash
$
cd
.../xblock-drag-and-drop-v2/
$
sh install_test_deps.sh
$
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
```
bash
$
python run_tests.py
$
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/
```
requirements.txt
0 → 100644
View file @
469662c9
git+https://github.com/edx/xblock-utils.git@v1.0.0#egg=xblock-utils==v1.0.0
-e .
setup.py
View file @
469662c9
...
@@ -31,7 +31,6 @@ setup(
...
@@ -31,7 +31,6 @@ setup(
'xblock-utils'
,
'xblock-utils'
,
'ddt'
'ddt'
],
],
dependency_links
=
[
'http://github.com/edx/xblock-utils/tarball/master#egg=xblock-utils'
],
entry_points
=
{
entry_points
=
{
'xblock.v1'
:
'drag-and-drop-v2 = drag_and_drop_v2:DragAndDropBlock'
,
'xblock.v1'
:
'drag-and-drop-v2 = drag_and_drop_v2:DragAndDropBlock'
,
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment