summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-08 02:48:20 +0530
committerPrabhu Ramachandran2011-11-08 02:48:20 +0530
commit0fa90f55cb30effc7abd0ae3748393bc3744a923 (patch)
tree2e711768653fca2690793da143426f1348f784df /README.txt
parent13a40a1a4ad77ee195100453ef5c37c889ca1f26 (diff)
downloadonline_test-0fa90f55cb30effc7abd0ae3748393bc3744a923.tar.gz
online_test-0fa90f55cb30effc7abd0ae3748393bc3744a923.tar.bz2
online_test-0fa90f55cb30effc7abd0ae3748393bc3744a923.zip
DOC: Example question in README.
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index e2612fa..b1cfb16 100644
--- a/README.txt
+++ b/README.txt
@@ -1,3 +1,6 @@
+Installation
+=============
+
To install/deploy this app follow the steps below:
1. Clone this repository.
@@ -13,3 +16,23 @@ To install/deploy this app follow the steps below:
And you should be all set.
+WARNING: django is running in debug mode for this currently, CHANGE it
+during deployment
+
+A sample question
+==================
+
+Here is an example of a good question and tests for it. On the admin
+interface after you login, add a new question with the following fields:
+
+ Summary: Fibonnaci
+
+ Question: Write function called "fib" which takes a single integer
+ argument (say "n") and returns a list of the first "n" fibonacci
+ numbers. For example fib(3) -> [1, 1, 2].
+
+ Points: 1
+
+ Test:
+ assert fib(3) == [1, 1, 2]
+ assert fib(6) == [1, 1, 2, 3, 5, 8]