The main web application
The Cockerel system is simple to install provided you have the following requirements satisfied:
For information on installing these see their respective sites.
I strongly recommend using the virtualenv project for managing the python namespace. Assuming you have a project python install with setuptools, you can create a new virtualenv around the project directory to install into. This can be done with:
git clone git://github.com/dcolish/Cockerel.git
Then
virtualenv some_env_path . some_env_path/bin/activate python setup.py develop
The Cockerel webpage will be at http://localhost:5000 by default
Main instance of the webapp. All modules will be loaded from this file. To add a new module you must import it here and register it.
syncronizes the config with the g global request object
Controller functions for classes. A class object allows you to add associated lesson plans.
Users can add classes if they are authenticated
Make modifications to a class
Shows all classes currently in the system
As a student user, register for access to a class
View the lesson plans offered by a specific class. The user must be either the admin or registered for that class
Added parsing of Theorems to Python-Markdown.
A simple example:
<<< Goal True -> True. >>>
Add definition lists to Markdown.
Add an instance of ProverPreprocessor to Markdown.
Process Theorem.
alias of ProverExtension
Chew up blank lines