Commit c037dfaf by Will Daly

Check whether Node is installed; update README to include Node installation link

parent 0b09e184
...@@ -18,6 +18,8 @@ Installation ...@@ -18,6 +18,8 @@ Installation
The intent of this project is to be installed as Django apps that will be The intent of this project is to be installed as Django apps that will be
included in `edx-platform <https://github.com/edx/edx-platform>`_. included in `edx-platform <https://github.com/edx/edx-platform>`_.
For JavaScript minification and unit tests, you must `install NodeJS <http://nodejs.org/>`_.
To install dependencies and start the development ("workbench") server: To install dependencies and start the development ("workbench") server:
.. code:: bash .. code:: bash
......
...@@ -16,6 +16,11 @@ echo "Installing XBlock..." ...@@ -16,6 +16,11 @@ echo "Installing XBlock..."
pip install -q -e . pip install -q -e .
echo "Installing Node requirements..." echo "Installing Node requirements..."
if [ -z `which npm` ]; then
echo "Please install NodeJS: http://nodejs.org/"
exit 1
fi
npm config set loglevel warn npm config set loglevel warn
npm install npm install
......
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