The project uses Virtualenv, but it doesn’t require that you use one.
Clone the repository, then activate Virtualenv, then install the requirements (none at the moment).
git clone https://github.com/wvxvw/category-tree-test.git
virtualenv ./category-tree-test
cd ./category-tree-test
. ./bin/activate
# Terminal changes prompt to indicate you are using
# virtual environment
pip install -r ./requirements.txt
git clone https://github.com/wvxvw/category-tree-test.git
sudo pip install -r ./requirements.txt
Execute server.py
to start serving HTML page on http://localhost:8080.
See server.py --help
for more options.
Execute tests.py
(there are currently 6 tests).