Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release/0.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
moschlar committed Oct 16, 2012
2 parents 0b6f957 + fc7576f commit 33fa923
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 21 deletions.
8 changes: 5 additions & 3 deletions Changelog
Expand Up @@ -2,9 +2,11 @@
Changelog
=========

Version x
-------------
Version 0.8 and 0.8.1
---------------------

- Simplifiy user model
- Rename demo event to ``demo``

Version 0.7.5
-------------
Expand All @@ -27,7 +29,7 @@ Version 0.7.3
- Moar test cases
- Bootstrap modal popup for deletions
- Initial Submission similarity table view
- Better logging facilitys
- Better logging facilities
- More robust handling of Runner argv parameters

Version 0.7.2
Expand Down
38 changes: 29 additions & 9 deletions INSTALL.rst
Expand Up @@ -21,15 +21,27 @@ Installation and Setup
Development Setup
^^^^^^^^^^^^^^^^^

First, if not already installed, install virtualenv::

$ easy_install virtualenv

Then create a virtualenv (a "sandbox" for installing Python packages
without polluting the system ``site-packages``) and source the
``activate`` script to enter the virtualenv::

$ virtualenv --no-site-packages tg
To set up a local instance of the SAUCE application, you will need:

- An UNIX-like operating system
- A Python interpreter (2.6 or 2.7)
- The ``virtualenv`` package for Python
(e.g. called ``python-virtualenv`` in Ubunutu 12.04)
- The Python packages ``numpy`` and ``matplotlib`` have to be
installed system-wide, too.
(e.g. called ``python-numpy`` and ``python-matplotlib`` in
Ubunutu 12.04)

No further packages have to be installed in the system, everything else
gets installed inside a virtualenv (a "sandbox" for installing Python
packages without polluting the system ``site-packages``).

Now create such a virtualenv and source the ``activate`` script to
enter it (the option ``--system-site-packages`` is important to
make the ``numpy`` and ``matplotlib`` packages available inside the
virtualenv)::

$ virtualenv --system-site-packages tg
$ cd tg
$ . bin/activate

Expand Down Expand Up @@ -61,3 +73,11 @@ This can be achieved easily by adding the ``--reload`` option::
Then you are ready to go.
You can access your instance of the application by browsing to:
http://localhost:8080/


Test suite
^^^^^^^^^^

To execute the test suite, simply run::

$ nosetests
16 changes: 8 additions & 8 deletions README.rst
Expand Up @@ -26,8 +26,8 @@ If you want to try out SAUCE without setting up your own instance,
you can access the demo instance at http://demo1-sauce.rhcloud.com/ .

Every newly set up instance has some dummy data which includes several
users and a sample event called **eip12**:
http://demo1-sauce.rhcloud.com/events/eip12
users and a sample event called **demo**:
http://demo1-sauce.rhcloud.com/events/demo

You can `log in <http://demo1-sauce.rhcloud.com/login>`_
for different user roles using the following credentials:
Expand All @@ -36,19 +36,19 @@ for different user roles using the following credentials:
| Role | Username | Password | What's special to see with this role? |
+====================+================+=================+===================================================================+
| Master teacher | ``teacher`` | ``teachpass`` | The event administration page at |
| (responsible for | | | http://demo1-sauce.rhcloud.com/events/eip12/admin |
| event **eip12**) | | | and the lesson submission page at |
| | | | http://demo1-sauce.rhcloud.com/events/eip12/lessons/2/submissions |
| (responsible for | | | http://demo1-sauce.rhcloud.com/events/demo/admin |
| event **demo**) | | | and the lesson submission page at |
| | | | http://demo1-sauce.rhcloud.com/events/demo/lessons/2/submissions |
| | | | and the judgement pages for the submissions. |
+--------------------+----------------+-----------------+-------------------------------------------------------------------+
| Tutor | ``tutor`` | ``tutorpass`` | The lesson submission page at |
| (responsible for | | | http://demo1-sauce.rhcloud.com/events/eip12/lessons/1/submissions |
| (responsible for | | | http://demo1-sauce.rhcloud.com/events/demo/lessons/1/submissions |
| lesson 1 of event | | | and the judgement pages for the submissions. |
| **eip12**) | | | Also, the similarity page for an assignment |
| **demo**) | | | Also, the similarity page for an assignment |
| | | | would be very interesting. |
+--------------------+----------------+-----------------+-------------------------------------------------------------------+
| Various students | ``studenta1``, | ``studentpass`` | The user profile page, where you can see your own |
| of event **eip12** | ``studenta2``, | | and your team member's submissions at |
| of event **demo** | ``studenta2``, | | and your team member's submissions at |
| | ``studentb1``, | | http://demo1-sauce.rhcloud.com/user |
| | ``studentc1``, | | |
| | ``studentc2`` | | |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -74,7 +74,7 @@

setup(
name='SAUCE',
version='0.8',
version='0.8.1',
description='System for AUtomated Code Evaluation',
long_description=open('README.rst').read(),
author='Moritz Schlarb',
Expand Down

0 comments on commit 33fa923

Please sign in to comment.