2018-12-26 15:00:47 +00:00
|
|
|
.. _tutor:
|
|
|
|
|
|
|
|
Tutor development
|
|
|
|
=================
|
|
|
|
|
2019-01-22 20:25:04 +00:00
|
|
|
Start by cloning the Tutor repository::
|
2018-12-26 15:00:47 +00:00
|
|
|
|
2019-01-22 20:25:04 +00:00
|
|
|
git clone https://github.com/regisb/tutor.git
|
|
|
|
cd tutor/
|
2018-12-26 15:00:47 +00:00
|
|
|
|
2019-01-22 20:25:04 +00:00
|
|
|
Install requirements
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
pip install -r requirements/dev.txt
|
|
|
|
|
|
|
|
Bundle ``tutor`` executable
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
make bundle
|
|
|
|
|
|
|
|
Generate the documentation
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
pip install sphinx sphinx_rtd_theme
|
|
|
|
cd docs/
|
|
|
|
make html
|
|
|
|
|
|
|
|
You can then browse the documentation with::
|
|
|
|
|
|
|
|
make browse
|