Skip to content

Commit 3869898

Browse files
author
Oscar Carballal Prego
committed
Reestructured documentation and extended some content
1 parent d04ce3d commit 3869898

File tree

9 files changed

+118
-85
lines changed

9 files changed

+118
-85
lines changed

source/LICENSE.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

source/index.rst

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
.. OpenMOOC documentation master file, created by
2-
sphinx-quickstart on Tue Jun 11 09:42:28 2013.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
5-
6-
====================================
7-
Welcome to OpenMOOC's documentation!
8-
====================================
1+
========
2+
OpenMOOC
3+
========
94

105
OpenMOOC is an open source Massive Open Online Course system built on top of the
116
django framework with Apache 2.0 license (see )
@@ -15,45 +10,54 @@ django framework with Apache 2.0 license (see )
1510

1611
Installation
1712
============
18-
.. toctree::
19-
:maxdepth: 2
13+
.. toctree::
14+
:maxdepth: 2
2015

21-
install/general
22-
install/idp
23-
install/engine
24-
install/askbot
16+
install/install
17+
install/idp
18+
install/engine
19+
install/askbot
20+
install/installfaq
2521

2622
Configuration
2723
=============
28-
.. toctree::
29-
:maxdepth: 2
3024

31-
configure/idp
32-
configure/moocng
33-
configure/askbot
25+
.. toctree::
26+
:maxdepth: 2
27+
28+
configure/idp
29+
configure/moocng
30+
configure/askbot
3431

3532
Manuals
3633
=======
37-
.. toctree::
38-
:maxdepth: 2
3934

40-
manual/teacher
41-
manual/student
42-
manual/sentry
35+
.. toctree::
36+
:maxdepth: 2
37+
38+
manual/demostrator
39+
manual/teacher
40+
manual/student
41+
manual/sentry
4342

4443
Reference
4544
=========
46-
.. toctree::
47-
:maxdepth: 2
45+
.. toctree::
46+
:maxdepth: 2
47+
48+
reference/mongo_structure
49+
50+
License
51+
=======
4852

49-
reference/mongo_structure
53+
OpenMOOC is licensed under the terms of `Apache 2.0 <http://www.apache.org/licenses/LICENSE-2.0.html>`_.
5054

51-
:doc:`LICENSE`
55+
The main header image used on OpenMOOC platform and blog was created by `Ana Isabel Rey Botello <https://github.com/anarey>`_.
5256

5357
Indices and tables
5458
==================
5559

56-
* :ref:`genindex`
57-
* :ref:`modindex`
58-
* :ref:`search`
60+
* :ref:`genindex`
61+
* :ref:`modindex`
62+
* :ref:`search`
5963

source/install/askbot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
===============
2-
openmooc-askbot
2+
OpenMOOC Askbot
33
===============
44

55
The Askbot component of OpenMOOC serves as a way to ask questions about a course.

source/install/engine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
===============
2-
openmooc-engine
2+
OpenMOOC Engine
33
===============
44

55
This is the core of the OpenMOOC platform, here you can create the courses,

source/install/general.rst

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
General
2-
=======
3-
4-
This documentation will help you to install OpenMOOC on your machine or virtual
5-
machine.
6-
7-
Installing via RPM (Yaco repository)
8-
------------------------------------
9-
10-
The preferred form of installation is via de RPM packages that are specifically
11-
prepared for OpenMOOC. You will need to add a new package repository to your
12-
repositories.
13-
141
Adding Yaco repository
15-
``````````````````````
2+
======================
163

174
To add the Yaco repository...
185

@@ -26,7 +13,8 @@ Update your package index and system packages:
2613
working.
2714

2815
Prerequisites
29-
`````````````
16+
=============
17+
3018
The minimum version of Python needed to run OpenMOOC is 2.6. We do not support Python 3.x yet.
3119

3220
In the process of installing moocng, both in the standard installation and
@@ -45,7 +33,7 @@ compiles a couple of Python modules.
4533
$ apt-get install build-essential python-dev libpq-dev libjpeg-turbo8-dev libpng12-dev
4634
4735
Installing the web server
48-
`````````````````````````
36+
=========================
4937

5038
The packages needed for installing Apache and wsgi support are:
5139

@@ -61,7 +49,7 @@ The packages needed for installing Apache and wsgi support are:
6149
of your web server about how to integrate it with a WSGI application.
6250

6351
OpenMOOC virtual package
64-
````````````````````````
52+
========================
6553

6654
There is a virtual package that should help you to install the complete OpenMOOC
6755
platform without any trouble.
@@ -77,14 +65,4 @@ Run this command in the command line:
7765
7866
.. note:: Put link to configuration of moocng here
7967

80-
After it's installed, please follow to :doc:`../coonfigConfiguration
81-
82-
Installing package by package
83-
-----------------------------
84-
85-
.. toctree::
86-
:maxdepth: 1
87-
88-
idp
89-
engine
90-
askbot
68+
After it's installed, please follow to :doc:`Configuration <../configure/idp>`

source/install/idp.rst

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ In a development enviroment you can disable both:
1414

1515
.. code-block:: bash
1616
17-
lokkit --selinux=disabled
18-
lokkit --disabled
17+
$ lokkit --selinux=disabled
18+
$ lokkit --disabled
1919
2020
In a production enviroment contact a sysadmin to configure correctly SELinux.
2121

@@ -40,13 +40,13 @@ Install the packages:
4040

4141
.. code-block:: bash
4242
43-
yum install openldap openldap-clients openldap-servers
43+
$ yum install openldap openldap-clients openldap-servers
4444
4545
Copy the CONFIG_BASE file:
4646

4747
.. code-block:: bash
4848
49-
cp /usr/share/openldap-servers-xxxx/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
49+
$ cp /usr/share/openldap-servers-xxxx/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
5050
5151
Edit the ldap config file ``/etc/openldap/ldap.conf``: ::
5252

@@ -61,10 +61,10 @@ Create the root password:
6161
6262
Create the config file (``/etc/openldap/slapd.conf``): ::
6363

64-
include /etc/openldap/schema/core.schema
65-
include /etc/openldap/schema/cosine.schema
66-
include /etc/openldap/schema/inetorgperson.schema
67-
include /etc/openldap/schema/nis.schema
64+
include /etc/openldap/schema/core.schema
65+
include /etc/openldap/schema/cosine.schema
66+
include /etc/openldap/schema/inetorgperson.schema
67+
include /etc/openldap/schema/nis.schema
6868
include /etc/openldap/schema/eduperson.schema
6969
include /etc/openldap/schema/schac.schema
7070
include /etc/openldap/schema/iris.schema
@@ -106,15 +106,15 @@ Delete the old slap.d directory to avoid conflicts with our new configuration:
106106

107107
.. code-block:: bash
108108
109-
rm -rf /etc/openldap/slapd.d
109+
# rm -rf /etc/openldap/slapd.d
110110
111111
112112
Start and stop the LDAP server:
113113

114114
.. code-block:: bash
115115
116-
service slapd start
117-
service slapd stop
116+
# service slapd start
117+
# service slapd stop
118118
119119
Create the root-path file (``/etc/openldap/root.ldif``): ::
120120

@@ -493,14 +493,15 @@ that build the OpenMOOC platform.
493493
Enable the metarefresh module and its dependences:
494494

495495
.. code-block:: bash
496-
touch /var/www/idp/simplesamlphp/modules/cron/enable
497-
touch /var/www/idp/simplesamlphp/modules/metarefresh/enable
496+
497+
# touch /var/www/idp/simplesamlphp/modules/cron/enable
498+
# touch /var/www/idp/simplesamlphp/modules/metarefresh/enable
498499
499500
Copy the sanitycheck config file:
500501

501502
.. code-block:: bash
502503
503-
cp /var/www/idp/simplesamlphp/modules/sanitycheck/config-templates/config-sanitycheck.php /var/www/idp/simplesamlphp/config/config-sanitycheck.php
504+
# cp /var/www/idp/simplesamlphp/modules/sanitycheck/config-templates/config-sanitycheck.php /var/www/idp/simplesamlphp/config/config-sanitycheck.php
504505
505506
506507
Configure the cron:
@@ -973,7 +974,7 @@ Reload iptables service to apply changes:
973974
974975
975976
Sync others clocks systems with IDP clock
976-
----------------------------------------
977+
-----------------------------------------
977978

978979
Install ntpd package
979980

source/install/install.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
===================
2+
Installing OpenMOOC
3+
===================
4+
5+
Requirements
6+
============
7+
8+
* RPM based system (recommended Centos 6)
9+
* Python >= 2.6 (we do not support python 3 yet)
10+
11+
Adding OpenMOOC package repository
12+
==================================
13+
14+
You will have to add the OpenMOOC package repository to have access to the OpenMOOC
15+
RPMs.
16+
17+
Update your package index and system packages:
18+
19+
.. code-block:: bash
20+
21+
# yum update
22+
23+
.. note:: This information cannot be finished until we have the Yaco repository
24+
working.
25+
26+
27+
OpenMOOC virtual package
28+
========================
29+
30+
There is a virtual package that should help you to install the complete OpenMOOC
31+
platform without any trouble.
32+
33+
.. warning:: Some packages are specific for OpenMOOC and can overwrite your current
34+
installed versions. Please make sure that you do a backup before starting.
35+
36+
Run this command in the command line:
37+
38+
.. code-block:: bash
39+
40+
# yum install openmooc
41+
42+
If the installation was successful, please follow to :doc:`Configuration <../configure/idp>`
43+
If you had any trouble please check the :doc:`FAQ <installfaq>`

source/install/installfaq.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
==========================
2+
Frequently Aksed Questions
3+
==========================
4+
5+
.. note:: This section is live.
6+
7+
.. warning:: This section is in development.
8+
9+
10+
I can't do the openmooc-engine (moocng) migrations!
11+
---------------------------------------------------
12+
13+
Is there any automated way of deploying?
14+
----------------------------------------

source/install/demostrator.rst renamed to source/manual/demostrator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ called `eth0` that is a very common interface in Unix systems.
5454
VirtualBox will complain **when the machine boots the first time**. It will show
5555
this error message:
5656

57-
.. image:: ../images/oMOOC-demo-Win-1.jpg
57+
.. image:: ../../images/oMOOC-demo-Win-1.jpg
5858

5959
Click on the "Change network preferences" button, it will open the machine's
6060
preferences. VirtualBox will automatically fill the network adapter field
6161
with the real one present on your Windows machine.
6262

63-
.. image:: ../images/oMOOC-demo-Win-2.jpg
63+
.. image:: ../../images/oMOOC-demo-Win-2.jpg
6464

6565
So, without changing anything, just click on the "Accept" button and now the
6666
machine will have a correct network adapter, and will boot properly.

0 commit comments

Comments
 (0)